Bidirectional Replication
Enables bidirectional data replication
Deployment
Example
# ---------------------------------------------------
# K2K Configuration for Bidirectional Replication
# ---------------------------------------------------
# 1. Global feature flag to enable bidirectional replication.
features:
bidirectionalReplication: enabled
# 2. Bidirectional configuration block (optional).
bidirectional:
# Mode determines the identifier used in the bidirectional header.
# "pipeline" uses the pipeline name; "cluster" uses the source cluster ID.
mode: cluster
headers:
# Name of the header used to mark bidirectional records.
# This header is added to replicated records and checked when filtering.
bidirectional: "__k2k_bidirectional"
# 3. Pipeline name.
# Must be the same for both instances when bidirectional.mode is set to pipeline
name: bidirectional-pipelineBidirectional Modes
Last updated
Was this helpful?

