Reputation: 391
We are running apache kafka 0.11.0.1 cluster. And we plan to upgrade to 0.11.0.2 without stopping service.
Is upgrading possible without data-loss or reproducing?
Our kafka cluster state:
Upgrading steps we think:
Basically out consumers are consistes of kafka-client 0.11.0.1 and spark DStream consumer.
Of cource we'll test. But you know, test can not gurantee that everything will be OK. Any information must be helpful. Please give me advice.
Upvotes: 0
Views: 980
Reputation: 26885
Yes Kafka can be upgraded without any downtime.
There is a pretty large section about upgrading in the Kafka docs: http://kafka.apache.org/documentation/#upgrade
For a minor release upgrade like in your scenario (0.11.0.0 to 0.11.0.1) the steps you've described should just work. Upgrade each broker one by one and after each step wait for everything to get back in-sync.
Upvotes: 1