Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Changing zookeeper hostnames for Kafka cluster

avatar
Rising Star

Hello- I have a Kafka cluster that has a dedicated (not managed by Ambari) Zookeeper ensemble for which I need to change the Hostnames.

No Ambari, no HDP, no anything except Kafka and ZK

Beyond updating Kafka's configuration files, is there more to consider (e.g. consumer retaining consumer offsets)? The ZK ensemble will remain untouched aside from the hostname change.

Thanks.

1 ACCEPTED SOLUTION

avatar
Super Guru

@Brenden Cobb

No. Stop services in the proper order for a clean bookmarking (stop the consumers, then kafka service/broker/zookeeper in that order), make your changes (as you already stated them) and restart services in proper order (reverse order from you stopped them). Just for your sake, test this in your dev or test environment.

View solution in original post

2 REPLIES 2

avatar
Super Guru

@Brenden Cobb

No. Stop services in the proper order for a clean bookmarking (stop the consumers, then kafka service/broker/zookeeper in that order), make your changes (as you already stated them) and restart services in proper order (reverse order from you stopped them). Just for your sake, test this in your dev or test environment.

avatar
Rising Star

Thanks for your response. I'll follow that course.

Cheers