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

Detailed logs for base producer poll error events #759

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EddieWhi
Copy link

@EddieWhi EddieWhi commented Feb 13, 2025

Hi Maintainers,

We have a number of mystery logs in our systems using rust-rdkafka along the lines of:

Ignored event 'Error' on base producer poll

I created this simple branch to get the error details out so we could diagnose and fix. The issue was fairly simple in the end (idle connections were being closed by AWS LBs, recommended settings for connections.max.idle.ms were missing). It would be great if I could get this (or similar) into a release someday to help us diagnose this kind of issue in the future.

I can see that this change could subtly impact current users as new error events will be pushed through ClientContext::error. If that's considered acceptable and manageable then great. Alternatively could have pushed the error detail through ClientContext::log which feels like it's less likely to cause issue although it's a little unsymmetrical?

Any thoughts and help getting this in would be greatly appreciated.

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.

1 participant