-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Kafka module can fail to collect partition offsets for topics with many partitions #13380
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Is there any workaround for this issue? |
@MRaliagha I am afraid that not at the moment 🙁 Are you being hit by this issue? Do you see errors about outdated metadata? |
Yes, we are facing this issue with 7.10.1. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm still having this issue with version 7.16.1. |
Hi! We're labeling this issue as |
In some Kafka clusters with topics with many partitions there can be problems collecting the offsets, what causes many errors that can flood logs.
This is possibly caused by the way Metricbeat collects the partitions offsets. It gets first the metadata and then it gets the offsets partition by partition. Under some circumstances, with many partitions, some errors happen, like:
kafka server: Tried to send a message to a replica that is not the leader for some partition. Your metadata is out of date.
broker is not leader
There are two possible solutions for these errors, but it may be good to implement both:
The text was updated successfully, but these errors were encountered: