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
Copy file name to clipboardExpand all lines: articles/hdinsight/kafka/connect-kafka-with-vnet.md
+25-25Lines changed: 25 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,8 +33,8 @@ This article describes the steps to set up the connectivity between a virtual ma
33
33
1. Update /etc/hosts file in client machine: Update `/etc/hosts` file in client machine with `/etc/hosts` file of Kafka Head/Worker node.
34
34
35
35
> [!NOTE]
36
-
> 1. Private DNS setup is optional after IP advertising. This is required only when you want to use FQDN of Kafka worker nodes with private DNS domain name instead of private IPs.
37
-
> 1. IPs of Kafka VMs never change if VM is present in cluster. Only when you manually replace VM from the cluster then, that IP changes. You can check the latest IPs from Ambari portal.
36
+
> * Private DNS setup is optional after IP advertising. This is required only when you want to use FQDN of Kafka worker nodes with private DNS domain name instead of private IPs.
37
+
> * IPs of Kafka VMs never change if VM is present in cluster. Only when you manually replace VM from the cluster then, that IP changes. You can check the latest IPs from Ambari portal.
38
38
39
39
### Configure Kafka for IP advertising
40
40
This configuration allows the client to connect using broker IP addresses instead of domain names. By default, Apache Zookeeper returns the domain name of the Kafka brokers to clients.
@@ -175,39 +175,39 @@ Use the following steps to configure HDInsight Kafka to advertise IP addresses i
175
175
</html>
176
176
```
177
177
178
-
#### If Client VM is using Windows OS
178
+
### If Client VM is using Windows OS
179
179
180
-
1. Go to overview page of `hdi-kafka` and click on Ambari view to get the URL.
180
+
1. Go to overview page of `hdi-kafka` and click on Ambari view to get the URL.
181
181
182
-
1. Put the login credential as username `admin` and password `YOUR_PASSWORD`, which you have setwhile creating cluster.
182
+
1. Put the login credential as username `admin` and password `YOUR_PASSWORD`, which you have setwhile creating cluster.
183
183
184
-
> [!NOTE]
185
-
> 1. In Windows VM, static hostnames need to be added in the host file which present in the path `C:\Windows\System32\drivers\etc\`.
186
-
> 1. This article assumes that the Ambari server is active on `Head Node 0`. If the Ambari server is active on `Head Node 1` use the FQDN of hn1 to access the Ambari UI.
184
+
> [!NOTE]
185
+
> 1. In Windows VM, static hostnames need to be added in the host file which present in the path `C:\Windows\System32\drivers\etc\`.
186
+
> 1. This article assumes that the Ambari server is active on `Head Node 0`. If the Ambari server is active on `Head Node 1` use the FQDN of hn1 to access the Ambari UI.
187
187
188
-
:::image type="content" source="./media/connect-kafka-with-vnet/dashboard.png" alt-text="Screenshot showing the dashboard." border="true" lightbox="./media/connect-kafka-with-vnet/dashboard.png":::
188
+
:::image type="content" source="./media/connect-kafka-with-vnet/dashboard.png" alt-text="Screenshot showing the dashboard." border="true" lightbox="./media/connect-kafka-with-vnet/dashboard.png":::
189
189
190
-
1. You can also send messages to kafka topic and read the topics from the VM. For that you can try to use this sample java application.
190
+
1. You can also send messages to kafka topic and read the topics from the VM. For that you can try to use this sample java application.
191
191
192
-
1. Use sample git repository to create Kafka topics, produce and consume data from that topic. For more information, see [hdinsight-kafka-java-getting-started](https://github.com/Azure-Samples/hdinsight-kafka-java-get-started).
192
+
1. Use sample git repository to create Kafka topics, produce and consume data from that topic. For more information, see [hdinsight-kafka-java-getting-started](https://github.com/Azure-Samples/hdinsight-kafka-java-get-started).
193
193
194
-
1. You can use FQDN, IP or short name(first six letters of cluster name) of brokers to pass as `KAFKABROKERS`in the following commands.
194
+
1. You can use FQDN, IP or short name(first six letters of cluster name) of brokers to pass as `KAFKABROKERS`in the following commands.
195
195
196
-
```
197
-
# In the previous example # IP of worker node 0 is `broker1-ip` and worker node 1 is `broker2-ip`
198
-
# Short Name of worker node 0 is `wn0-hdi-ka` and worker node 1 is `wn1-hdi-ka` # FQDN of worker node 0 is `wn0-hdi-ka.mvml5coqo4xuzc1nckq1sltcxf.bx.internal.cloudapp.net` and worker node 1 is `wn1-hdi-ka.mvml5coqo4xuzc1nckq1sltcxf.bx.internal.cloudapp.net`
196
+
```
197
+
# In the previous example # IP of worker node 0 is `broker1-ip` and worker node 1 is `broker2-ip`
198
+
# Short Name of worker node 0 is `wn0-hdi-ka` and worker node 1 is `wn1-hdi-ka` # FQDN of worker node 0 is `wn0-hdi-ka.mvml5coqo4xuzc1nckq1sltcxf.bx.internal.cloudapp.net` and worker node 1 is `wn1-hdi-ka.mvml5coqo4xuzc1nckq1sltcxf.bx.internal.cloudapp.net`
0 commit comments