-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
ConsumerGroup flooding logs with client/metadata update req #1544
Comments
Sorry, I will submit a PR to solve this problem later |
@antsbean what did you plan to do to solve the problem? I happened to stumble upon this issue today after rebasing on the latest Sarama. It isn't obvious to me what the changes in #1525 were doing when there is the (similar to Java) |
fixed ConsumerGroup flooding logs with client/metadata update req #1544
closed by #1578 |
Versions
Sarama: 1.24.1 - latest
Kafka: 2.2.1 - Yolean K8s
Go: 1.12
Configuration
What configuration values are you using for Sarama and Kafka?
Logs
logs: CLICK ME
Problem Description
Since the addition of #1525 the ConsumerGroup implementation starts a loop which checks partition count on topics
This is calling
c.Client.RefreshMetadata(topics...)
which is flooding logs with metadata fetch requests to brokers.Question: Is this working as intended or can something be done to reduce these logs? With default configuration it's fetching metadata at
c.config.Consumer.Group.Heartbeat.Interval * 2
which I believe to be every 6 seconds.I've stumbled across this old issue confluentinc/librdkafka#363 opened by @eapache which suggests it is probably is a fairly aggressive refresh interval.
The text was updated successfully, but these errors were encountered: