Skip to content

Conversation

scholzj
Copy link
Contributor

@scholzj scholzj commented Oct 5, 2021

Kafka 3.0.0 is a major release and as such it does some breaking changes such as removes some old methods which were deprecated before and adds new methods etc. This PR updates the tracing support for Kafka clients to use Kafka 3.0.

Apart form removing some removed methods and adding some new, the Embedded Kafka cluster from Spring does not support Kafka 3.0.0 yet. So I replaced it with the Embedded Kafka Cluster which is part of Apache Kafka itself. This should make the tests less dependent on Spring Kafka.

It would be great if this could get reviewed and if we can have a new release to use with Kafka 3.0.0.

Signed-off-by: Jakub Scholz <www@scholzj.com>
@scholzj
Copy link
Contributor Author

scholzj commented Oct 12, 2021

Any chance someone can look at this?

Copy link

@igorIsyutin igorIsyutin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much. Hope it will be merged soon.

@hsargsyan
Copy link

Any updates on this?

@jondey
Copy link

jondey commented May 12, 2022

Interested in this PR too. Any timescales for new version?

@moustafa-zein
Copy link

moustafa-zein commented Aug 21, 2022

To support Kafka 3.2.x you need to add a new methods in TracingKafkaConsumer ad make a new PR.

  @Override
  public void enforceRebalance(String s) {

  }
  

@solo-seven
Copy link

I was able to get this working in my fork with the Kafka 3.2.1 client, and I have tested it with Jaeger and Confluent Platform 7.2.1. The work is here: https://github.com/bashburn/java-kafka-client which I forked from this fork. Let me know, and I can try to add it here, or create a new PR if needed.

@kdsundhiya
Copy link

Can this be merged ?

@solo-seven
Copy link

I created a new PR based on my update to the libraries. It is PR #101 if we want to close this one and look at that one.

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 this pull request may close these issues.

7 participants