Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Changing zookeeper hostnames for Kafka cluster

Solved Go to solution
Highlighted

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

Accepted Solutions
Highlighted

Re: Changing zookeeper hostnames for Kafka cluster

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

Re: Changing zookeeper hostnames for Kafka cluster

@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

Highlighted

Re: Changing zookeeper hostnames for Kafka cluster

Contributor

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

Cheers

Don't have an account?
Coming from Hortonworks? Activate your account here