On Wed, Apr 16, 2025, at 02:23, Kartik Dev wrote: > Hi team, > > I have two queries regarding the upgrade path mentioned in the link: > https://kafka.apache.org/35/documentation.html#upgrade > > 1. I want to upgrade my kafka cluster from 2.8.2 to 3.5.1. My 2.8.2 cluster > is running on JDK 8 > So the new kafka 3.5.1 cluster is required to be on JDK 8 or while shutting > down the nodes one by one, I can upgrade the JDK to 17 and update the kafka > to 3.5.1 simultaneously ?
Kafka 3.5 is pretty old (and no longer supported by the community.) It is the last release that supported a version of ZooKeeper that worked with Kafka 2.8 though. So you have to use it as a stepping stone at least. I don't recall what JDKs Kafka 3.5 supported. Certainly it supported JDK8 and JDK11. I don't know if it ever supported JDK17. If it did then upgrading one node at a time should be not problem. > > 2. During one-by-one broker nodes shutting down and then restarting, is the > Kafka cluster deemed serviceable ? Or is it considered not working ? Kafka is available during cluster rolls Colin