-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent idempotent producer epoch exhaustion
Add check for idempotent producer epoch overflow, as it is required by the KIP-360[1], the producer should request a new producer ID when the epoch is exhausted. Otherwise, the producer might get desynchronized with the broker. [1]: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=89068820 Signed-off-by: Ladislav Macoun <ladislavmacoun@gmail.com>
- Loading branch information
1 parent
8f8d8da
commit 5c6b581
Showing
2 changed files
with
97 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters