-
|
Hello everyone, I have trouble finding out which Kafka version is compatible with which metadata.version. I have deployed Strimzi operator 0.48.0 and deployed Kafka and KafkaConnect 4.1.0, with metadata version 4.1.0-IV1. While testing, I stumbled upon some errors with Openlineage and Debezium connector and saw that bug is present at version 4.1.0 but not on 4.0.0. As Strimzi operator supports both 4.0.0 and 4.1.0, I tried to downgrade Kafka per documentation:
Can someone explain me or point me to where I can check which metadata.version values are supported by which Kafka version? What is the relation between each and how do they match? Thank you in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
The existing metadata versions can be found here: https://github.com/apache/kafka/blob/2daf5be27ae81eda9955a9d8bdfcf15499d955cc/server-common/src/main/java/org/apache/kafka/server/common/MetadataVersion.java#L165. But if you are already on metadata 4.1, you will not be able to downgrade to 4.0. That is a Kafka limitation. |
Beta Was this translation helpful? Give feedback.
-
|
Yeah, I completely understand there's nothing you can do about it. But it sucks to find out that once you migrate to new version you can't go back in case of any error. I mean, you can always spin up new cluster with old version, replicate topics, replicate clients and so on, but that's not topic of this discussion 😄 |
Beta Was this translation helpful? Give feedback.
It is (not so) funny, isn't it? You need to update the metadata version to complete the upgrade. But afterwards, you cannot go back anymore. So you might not find out problems before ou change it, but if you find them, you are screwed. But I was explained by the Kafka folks that this is really the way it works :-/