In the below example, Node 1 will have the new IP Address:
On Nodes 2 and 3, stop both the kafka and zookeeper services.
On Nodes 2 and 3, edit the below files to update the IP address on Node 1 to the new IP.
/opt/CA/netops-kafka/config/server_customization.properties:9:zookeeper.connect=
/opt/CA/netops-kafka/config/zookeeper_customization.properties:1:server.1=
/opt/CA/netops-kafka/config/answers.properties:14:clusterHost1=
/opt/CA/netops-kafka/config/producer_customization.properties:1:bootstrap.servers=
/opt/CA/netops-kafka/config/consumer_customization.properties:1:bootstrap.servers=
/opt/CA/netops-kafka/kafka/config/consumer.properties:19:bootstrap.servers=
/opt/CA/netops-kafka/kafka/config/zookeeper.properties:25:server.1=
/opt/CA/netops-kafka/kafka/config/server.properties:125:zookeeper.connect=
/opt/CA/netops-kafka/kafka/config/producer.properties:21:bootstrap.servers=
On Nodes 2 and 3, start both the kafka and zookeeper services.
You then can verify connectivity on all nodes by running the below command on each node.
./zookeeper-shell.sh <NODE_HOSTNAME>:2181 ls /brokers/ids