You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -122,31 +123,19 @@ To complete the configuration modification, do the following steps:
122
123
123
124

124
125
125
-
1. Run the commands below which will add configuration properties to the Kafka `server.properties` file to advertise IP addresses instead of the Fully Qualified Domain Name (FQDN)..
126
+
1. Under **Advanced kafka-env** add the following lines to the end of the **kafka-env template** property.
126
127
127
-
```bash
128
-
IP_ADDRESS=$(hostname -i)
129
-
echo advertised.listeners=$IP_ADDRESS
130
-
sed -i.bak -e '/advertised/{/advertised@/!d;}' /usr/hdp/current/kafka-broker/conf/server.properties
1. To verify that the previous changes have been made correctly, you can optionally check that the following lines are present in the Kafka `server.properties` file.
0 commit comments