Skip to content

Kafka Connect: Add bounded retry for transient commit exceptions#16434

Open
yadavay-amzn wants to merge 1 commit into
apache:mainfrom
yadavay-amzn:fix/16393-bounded-commit-retry
Open

Kafka Connect: Add bounded retry for transient commit exceptions#16434
yadavay-amzn wants to merge 1 commit into
apache:mainfrom
yadavay-amzn:fix/16393-bounded-commit-retry

Conversation

@yadavay-amzn
Copy link
Copy Markdown
Contributor

Fixes #16393.

Adds a configurable consecutive-failure threshold (iceberg.connect.commit.max-consecutive-failures, default: 3). The coordinator only terminates after N consecutive full-commit failures, avoiding unnecessary operator intervention for transient errors.

On successful commit, the counter resets to 0. This preserves the safety guarantee (persistent failures still kill the task) while tolerating transient blips.

Willingness to contribute

  • I can contribute this fix independently

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kafka Connect: Add bounded retry for transient commit exceptions

1 participant