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

Updating kafka-clients to 3.7.0 breaks kafka instrumentation #1339

Closed
dvmis opened this issue May 20, 2024 · 0 comments · Fixed by #1340
Closed

Updating kafka-clients to 3.7.0 breaks kafka instrumentation #1339

dvmis opened this issue May 20, 2024 · 0 comments · Fixed by #1340

Comments

@dvmis
Copy link

dvmis commented May 20, 2024

After updating of org.apache.kafka.kafka-clients from 3.4.0 to 3.7.0 in our application, using of KafkaInstrumentation throws exception:

ERROR 2024-05-15 10:04:33 Logger : Error =>

  • org.apache.kafka.clients.consumer.KafkaConsumer with message Cannot locate field named groupId for class
  • org.apache.kafka.clients.consumer.KafkaConsumer. Class loader:
  • jdk.internal.loader.ClassLoaders$AppClassLoader@7fcf2fc1: java.lang.IllegalStateException: Cannot locate
  • field named groupId for class org.apache.kafka.clients.consumer.KafkaConsumer

In 3.7.0 version, the "groupId" field in the KafkaConsumer class is missing, which is causing this issue

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 a pull request may close this issue.

1 participant