IBM / sarama

Sarama is a Go library for Apache Kafka.
MIT License
11.43k stars 1.75k forks source link

Need help to understand supported Kafka versions #2949

Open chaithraav opened 1 month ago

chaithraav commented 1 month ago

I need to understand the behaviour of sarama upgrade post v1.40, few versions of Kafka config are failing to connect.

My docker kafka version: 2.3.0

Sarama v1.40 Supports 1.0, 2.2, 2.6, 3.1, 3.2, 3.3

Sarama v1.43 Supports 1.0, 2.0, 2.2 Fails for 2.4, 2.6, 2.8.2, 3.3.0, 3.1.1, 3.2.3, 3.4

Why is there is inconsistency and how can I resolve this?

dnwe commented 1 month ago

@chaithraav see the release notes for v1.41.0, but ultimately we started to implement support for more features of the newer kafka protocols and hence our adherence to the use of the right Kafka protocol versions for the given Config Version. As such you should never exceed your remote broker version (2.3.0) when configuring your sarama config version