Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concurrent idempotent producer error handling fixes #1172

Merged
merged 6 commits into from Feb 9, 2022

Conversation

t-d-d
Copy link
Contributor

@t-d-d t-d-d commented Aug 14, 2021

This is on top of #1050 . Added:

  • a lock per broker so that the broker request and sequence number handling (including reverting on an error) is serialised
  • used sharedPromise on a few cluster functions to stop multiple concurrent calls

Use mutex lock for idempotent producer critical section
src/cluster/index.js Outdated Show resolved Hide resolved
aikoven referenced this pull request in aikoven/kafkajs Jan 16, 2022
@Nevon Nevon merged commit 1876abc into tulios:master Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants