-
Notifications
You must be signed in to change notification settings - Fork 898
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
Consumer offset resets to BEGINNING on SSL errors on 2.1.0 and 2.1.1 versions #1577
Comments
Hi @robsys. We're aware of the issue, tracked in librdkafka here. confluentinc/librdkafka#4293 Currently what you can do is revert to 2.0.2 that doesn't have offset validation so you won't have offset resets, but that error could cause problems in other places, or revert to 1.9.2 that doesn't have OpenSSL 3. Next release is planned for the end of June. |
Thank you, it was a couple of weeks ago and very recently when it occurred, didn't check all the new issues. Glad to know it's a known issue already. We have downgraded to 1.9.2 for the time being. Should we keep this open until it's fixed? |
Let's keep it open to make it visible in this repo too. We'll close it once it's merged. |
Hi there @emasab, can I confirm that since the release of librdkafka version 2.2.0, this issue has been resolved as of version 2.2.0 of this library? This issue can now be marked as closed? We also ran into this in our production environment and have since pinned to an earlier version, I am looking at now using the latest version and want to confirm the above |
您好: 很高兴收到您的来信,我会尽快阅读并回复您!祝您工作顺利、生活愉快!
|
Description
On one of our consumers, we get an
SSL_HANDSHAKE
error which causesPartition log truncation detected
after which offset is suddenly reset back toBEGINNING
, and of course, this causes huge consumer lag. It seems that the issue points exactly at https://github.com/confluentinc/librdkafka/releases/tag/v2.1.0:We tried bumping to 2.1.1 although it seems it does not have a fix. Our other consumers are running on 1.9.2 and don't have this issue.
Logs:
How to reproduce
I wasn't able to reproduce it locally.
Checklist
Please provide the following information:
'debug': '..'
as necessary)The text was updated successfully, but these errors were encountered: