-
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
Include software version in requests in order to collect metrics for the client on brokers #2756
Comments
Maybe related to issue below, since sarama incorporates version.go |
If I understand correctly, if boolean returned true it may not reflect the dependent package franz-go implemented like this: |
@omersiar Sarama does send its software name and version to Kafka as long as you are using sarama.Version = V2_4_0_0 or newer in your config and haven't disabled it via https://github.com/IBM/sarama/blob/5f63a84f47c39bf08a1c276f1f6b5f1d754e9fc3/config.go#L485-L489C2 Lines 176 to 201 in 5f63a84
|
It's suboptimal that this isn't sent by default though. Can we send API versions by default and ignore the error if the broker doesn't understand it? |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Thank you for taking the time to raise this issue. However, it has not had any activity on it in the past 90 days and will be closed in 30 days if no updates occur. |
Hi,
Brokers can track of client versions and their metrics can be collected from JMX. We discovered almost every library set their software version but not the sarama.
https://docs.confluent.io/platform/current/kafka/monitoring.html#clientsoftwarename-clientsoftwareversion
The text was updated successfully, but these errors were encountered: