confluentinc / librdkafka

The Apache Kafka C/C++ library
Other
204 stars 3.14k forks source link

No support for Kafka 1.0.0 #1627

Closed angelpp2018 closed 6 years ago

angelpp2018 commented 6 years ago

Read the FAQ first: https://github.com/edenhill/librdkafka/wiki/FAQ

Description

Does the latest librdkafka support Kafka 1.0.0 ? It seems no, we can't find this kind of information in release notes. How to reproduce ================ **IMPORTANT**: Always try to reproduce the issue on the latest released version (see https://github.com/edenhill/librdkafka/releases), if it can't be reproduced on the latest version the issue has been fixed. Checklist ========= **IMPORTANT**: We will close issues where the checklist has not been completed. Please provide the following information: - [x] librdkafka version (release number or git tag): `` - [ ] Apache Kafka version: `` - [ ] librdkafka client configuration: `` - [ ] Operating system: `` - [ ] Provide logs (with `debug=..` as necessary) from librdkafka - [ ] Provide broker log excerpts - [ ] Critical issue
edenhill commented 6 years ago

https://github.com/edenhill/librdkafka/wiki/FAQ#is-librdkafka-compatible-with-my-broker-version

angelpp2018 commented 6 years ago

Thanks, so librdkafka has already supported Kafka 1.0.0, right ? If Yes, I will close this issue.

edenhill commented 6 years ago

It depends on what you mean, librdkafka is compatible with broker 1.0.0, but it might not support all features of Kafka 1.0.0 - Idempotent and EOS in particular are not supported.

Is there a specific feature you are looking for?

angelpp2018 commented 6 years ago

We are going to upgrade our Kafka server version to 1.0.0 to mitigate Jackthon Databind security vunerability, but we are not sure whether the latest librdkafka lib has supports Kafka 1.0.0. We are using 0.9.2 version librdkafka. Can we upgrade librdkafka lib the lastest version to keep compatible with Kafka 1.0.0. ?

edenhill commented 6 years ago

Brokers are backwards compatible with old clients (>=0.8) and librdkafka is backwards compatible with older brokers (>=0.8), so both combinations are fine and yes you can (and should) upgrade to the latest release of librdkafka (0.11.3) regardless of your broker version.

Make sure to read the broker version compatibility wiki page lined above.

angelpp2018 commented 6 years ago

Thanks for all your answers, I think we can close this issue now.