Exactly once
Configures the semantic guarantees
Configuration Parameters
Property Path
Description
Required to Enable EOS
Example
# ---------------------------------------------------
# K2K Configuration for Exactly-Once Semantics (EOS)
# ---------------------------------------------------
# 1. Global feature flag to enable transactional processing.
features:
exactlyOnce: enabled
# 2. Source consumer must be configured to only read committed records.
source:
kafka:
consumer:
# Prevents "dirty reads" from the source cluster.
"isolation.level": "read_committed"
# ... other source consumer properties
"group.id": "k2k-eos-replicator-group"
# 3. Target producer must be configured for idempotence.
target:
kafka:
producer:
# Enables the idempotent producer, a prerequisite for EOS.
"enable.idempotence": true
# ... other target producer properties
"acks": "all"Last updated
Was this helpful?

