Support Questions

Find answers, ask questions, and share your expertise

Changing zookeeper hostnames for Kafka cluster

Contributor

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

@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

@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.

Contributor

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

Cheers

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.