-
Notifications
You must be signed in to change notification settings - Fork 601
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
Sarama 1.41.0+ incompatibility with V2_4_0_0 and higher #17581
Comments
This issue hasn't seen activity in 3 months. If you want to keep it open, post a comment or remove the |
This issue was closed due to lack of activity. Feel free to reopen if it's still relevant. |
This appears to still be an issue. |
thanks @stevenh we'll take a look. we're tracking this internally in jira, but we'll leave this public ticket open. |
This issue hasn't seen activity in 3 months. If you want to keep it open, post a comment or remove the |
Let me chase this down internally now. |
Version & Environment
Redpanda version: (use
rpk version
): 21.11.22 (also tested with 23.3.10)IBM/Sarama version: 1.41.0+
What went wrong?
When upgrading from Sarama 1.40.1 to 1.41.0 or higher, with
sarama.Config.Version
set to anything higher thanV2_3_0_0
(in our case we had it set toV2_8_0_0
as we use Admin API features available from Kafka 2.8 onwards), creating new clients against Redpanda no longer works. The error returned by Sarama iskafka: client has run out of available brokers to talk to: EOF
.Whilst Redpanda is API compatible with Kafka, we believe that it doesn't support all API versions. The change of behaviour in Sarama 1.41.0 is described as:
What should have happened instead?
Redpanda should ideally support newer API versions, along with older API versions (up until 2.1, if Redpanda plans on matching Apache Kafka as per KIP-896. We shouldn't need to change our application code or make API version compromises to be able to use Redpanda.
How to reproduce the issue?
sarama.Config.Version
toV2_4_0_0
or highersarama.NewClusterAdmin
, observing the EOF error returnedJIRA Link: CORE-2022
The text was updated successfully, but these errors were encountered: