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

Issue with missing leader epoch when storing offsets #1113

Closed
nkostoulas opened this issue Dec 7, 2023 · 2 comments
Closed

Issue with missing leader epoch when storing offsets #1113

nkostoulas opened this issue Dec 7, 2023 · 2 comments

Comments

@nkostoulas
Copy link

nkostoulas commented Dec 7, 2023

Since v2.1.0, if the leader epoch is not explicitly set in the TopicPartition field when storing offsets and there has been a leader epoch change then consumers fail to store offsets. It should be clear in the documentation that in order for the above to work we either need to use the TopicPartition field from the message or populate all required fields if constructing this field manually. This has since been fixed upstream in librdkafka v2.3.0 (confluentinc/librdkafka#4442). It would be nice to include information both on the issue and the fix in the corresponding confluent-kafka-go releases.

@milindl
Copy link
Contributor

milindl commented Dec 14, 2023

Hi @nkostoulas, we provide a link to the corresponding version of the librdkafka release notes with each of our release notes, since those contain many such bug fixes, and enhancements which are often made without any changes to the Go client code itself.

@milindl
Copy link
Contributor

milindl commented Feb 13, 2024

Closing this with the above comment, let me know if there are any more issues with this.

@milindl milindl closed this as completed Feb 13, 2024
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

No branches or pull requests

2 participants