-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Backport Kafka client 2.0.0 in branch 2.1.x #780
Comments
Exactly which changes are you looking for? It has not been tested but it might work. However, the deprecated blocking APIs (e.g. We do not intend to backport support for 2.0.0 to the 2.1 line (non-blocking APIs). We expect to release the next milestone of 2.2 (including the changes for 2.0.0 non-blocking APIs) next week, with the release due next month or early October. |
Thanks for your answer. We are mostly interested in the fix for KAFKA-6446 so the producers don't block indefinitely if for some reason the brokers fail to respond with a producerId (It has happened to us with the brokers properly started). I'll try overriding the dependencies and report back here. |
Overriding the dependencies to use kafka-clients 2.0.0 seems to work well enough for our purpose, except the embedded Kafka broker due to a hardcoded version number: spring-kafka/spring-kafka-test/src/main/java/org/springframework/kafka/test/rule/KafkaEmbedded.java Line 102 in f9f7d9c
|
Would it be possible to add support for the Kafka clients 2.0.0 in branch 2.1.x ?
Or do you think branch 2.1.x can work with the 2.0.0 Kafka clients by overriding the dependencies ?
Kafka 2.0.0 has some interesting bug fixes for us, and we'd like to upgrade without necessarily upgrading the rest of the Spring ecosystem.
The text was updated successfully, but these errors were encountered: