-
Notifications
You must be signed in to change notification settings - Fork 1.4k
change_subscription warning log to info #1132
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
Conversation
@dpkp how much extra work would it save to skip calling And I agree, this log should be |
667fee6
to
a097be2
Compare
@jeffwidman I changed it so we don't call |
I would prefer to keep the log level at warning. Otherwise, this is a good improvement. +1 |
When we are using subscription by pattern change subscription is called every metadata update even when nothing changes. This PR ensures that change subscription is called only when set of topics changes.
a097be2
to
7adc692
Compare
@dpkp level changed back to warning |
Thanks! |
When we are using subscription by pattern change subscription is called every metadata update even when nothing changes. This PR ensures that change subscription is called only when set of topics changes.
When we are using subscription by pattern change subscription is called every metadata update even when nothing changes. This PR ensures that change subscription is called only when set of topics changes.
When we are using subscription by pattern change subscription is called every metadata update even when nothing changes. This PR ensures that change subscription is called only when set of topics changes.
When we are using subscription by pattern change subscription is called every metadata update even when nothing changes. This PR ensures that change subscription is called only when set of topics changes.
When we are using subscription by pattern change subscription is
called every metadata update even when nothing changes. It logs
warning every time topics are not changed. It creates unnecessary
noise in logs. I changed it to level info so it can be easily ignored
(I want to see only warnings from kafka client). Do you think this is
a right approach or I should check in
ConsumerCoordinator._handle_metadata_update
that no topics has changed and not call
change_subscription
inthis case? I would then need to change it in aiokafka too because I'm
using that.