Member since
04-23-2018
3
Posts
4
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
22050 | 05-03-2018 07:06 AM |
08-30-2019
11:19 AM
Hi, Instead of creating separate CGROUP for each Broker node in Kafka cluster, we can use kafka env to make it working. To configure Kafka to advertise FQDN and listening on all the IP addresses, add the following text to the bottom of the kafka-env-template. # Configure Kafka to advertise IP addresses instead of FQDN HOST_FQDN=$(hostname -f) echo advertised.listeners=$HOST_FQDN sed -i.bak -e '/advertised/{/advertised@/!d;}' /usr/hdp/current/kafka-broker/conf/server.properties echo "advertised.listeners=SASL_PLAINTEXT:://$HOST_FQDN:6667" >> /usr/hdp/current/kafka-broker/conf/server.properties To configure Kafka to listen on all network interfaces, change the value in the listeners field to SASL_PLAINTEXT:PLAINTEXT://0.0.0.0:6667 Reference from : https://docs.microsoft.com/en-us/azure/hdinsight/kafka/apache-kafka-connect-vpn-gateway Thanks, Saravana
... View more