changefeedccl: add kafka sink config options for idempotence, retries, and max.inflight.requests.per.connection #122326
Labels
A-cdc
Change Data Capture
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
O-support
Would prevent or help troubleshoot a customer escalation - bugs, missing observability/tooling, docs
T-cdc
We should allow users to customize the following Kafka producer options (corresponding sarama options in brackets) as they have an impact on whether events may become not strictly ordered after retries:
enable.idempotence
(Producer.Idempotent
)retries
(Producer.Retry.Max
)max.in.flight.requests.per.connection
(Net.MaxOpenRequests
)Namely, the sarama defaults for these options (
enable.idempotence = false
,retries = 50
,max.in.flight.requests.per.connection = 5
), which we use, could potentially allow events to become not strictly ordered during retries.From the Kafka documentation about
retries
(https://kafka.apache.org/documentation/#producerconfigs_retries):Jira issue: CRDB-37801
The text was updated successfully, but these errors were encountered: