Skip to content

Commit e930450

Browse files
Merge pull request #259625 from v-akarnase/patch-14
Update apache-kafka-quickstart-powershell.md
2 parents a4549b3 + 9a7fb82 commit e930450

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/hdinsight/kafka/apache-kafka-quickstart-powershell.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: In this quickstart, you learn how to create an Apache Kafka cluster
44
ms.service: hdinsight
55
ms.custom: mvc, devx-track-azurepowershell, mode-api
66
ms.topic: quickstart
7-
ms.date: 10/19/2022
7+
ms.date: 11/28/2023
88
#Customer intent: I need to create a Kafka cluster so that I can use it to process streaming data
99
---
1010

@@ -16,7 +16,7 @@ In this quickstart, you learn how to create an [Apache Kafka](https://kafka.apac
1616

1717
[!INCLUDE [delete-cluster-warning](../includes/hdinsight-delete-cluster-warning.md)]
1818

19-
The Kafka API can only be accessed by resources inside the same virtual network. In this quickstart, you access the cluster directly using SSH. To connect other services, networks, or virtual machines to Kafka, you must first create a virtual network and then create the resources within the network. For more information, see the [Connect to Apache Kafka using a virtual network](apache-kafka-connect-vpn-gateway.md) document.
19+
Only resources within the same virtual network have access to the Kafka API. In this quickstart, you access the cluster directly using SSH. To connect other services, networks, or virtual machines to Kafka, you must first create a virtual network and then create the resources within the network. For more information, see the [Connect to Apache Kafka using a virtual network](apache-kafka-connect-vpn-gateway.md) document.
2020

2121
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
2222

@@ -187,7 +187,7 @@ In this section, you get the host information from the Apache Ambari REST API on
187187

188188
When prompted, enter the name of the Kafka cluster.
189189

190-
3. To set an environment variable with Zookeeper host information, use the command below. The command retrieves all Zookeeper hosts, then returns only the first two entries. This is because you want some redundancy in case one host is unreachable.
190+
3. To set an environment variable with Zookeeper host information, use the following command. The command retrieves all Zookeeper hosts, then returns only the first two entries. This is because you want some redundancy in case one host is unreachable.
191191

192192
```bash
193193
export KAFKAZKHOSTS=`curl -sS -u admin -G https://$CLUSTERNAME.azurehdinsight.net/api/v1/clusters/$CLUSTERNAME/services/ZOOKEEPER/components/ZOOKEEPER_SERVER | jq -r '["\(.host_components[].HostRoles.host_name):2181"] | join(",")' | cut -d',' -f1,2`

0 commit comments

Comments
 (0)