Skip to content

Commit ae93be5

Browse files
committed
updates
1 parent f6c48f1 commit ae93be5

File tree

2 files changed

+6
-15
lines changed

2 files changed

+6
-15
lines changed

articles/hdinsight/domain-joined/apache-domain-joined-run-kafka.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: hrasheed
66
ms.reviewer: jasonh
77
ms.service: hdinsight
88
ms.topic: tutorial
9-
ms.date: 09/04/2019
9+
ms.date: 05/19/2020
1010
---
1111

1212
# Tutorial: Configure Apache Kafka policies in HDInsight with Enterprise Security Package (Preview)
@@ -142,7 +142,8 @@ Based on the Ranger policies configured, **sales_user** can produce/consume topi
142142

143143
4. Follow Step 3 under **Build and deploy the example** in [Tutorial: Use the Apache Kafka Producer and Consumer APIs](../kafka/apache-kafka-producer-consumer-api.md#build-and-deploy-the-example) to ensure that the `kafka-producer-consumer.jar` is also available to **sales_user**.
144144

145-
**Note: For this tutorial, please use the kafka-producer-consumer.jar under "DomainJoined-Producer-Consumer" project (not the one under Producer-Consumer project, which is for non domain joined scenarios).**
145+
> [!NOTE]
146+
> For this tutorial, please use the kafka-producer-consumer.jar under "DomainJoined-Producer-Consumer" project (not the one under Producer-Consumer project, which is for non domain joined scenarios).
146147
147148
5. Verify that **sales_user1** can produce to topic `salesevents` by executing the following command:
148149

articles/hdinsight/kafka/apache-kafka-producer-consumer-api.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ If you would like to skip this step, prebuilt jars can be downloaded from the `P
156156
157157
> [!Note]
158158
> This command requires Ambari access. If your cluster is behind an NSG, run this command from a machine that can access Ambari.
159-
159+
160160
1. Create Kafka topic, `myTest`, by entering the following command:
161161
162162
```bash
@@ -211,19 +211,9 @@ Records stored in Kafka are stored in the order they're received within a partit
211211

212212
## Common Issues faced
213213

214-
1. Topic creation fails
215-
216-
217-
If your cluster is Enterprise Security Pack enabled, use the [pre-built JAR files for producer and consumer](https://github.com/Azure-Samples/hdinsight-kafka-java-get-started/blob/master/Prebuilt-Jars/kafka-producer-consumer-esp.jar).
218-
219-
220-
The ESP jar can be built from from the code in the [`DomainJoined-Producer-Consumer` subdirectory](https://github.com/Azure-Samples/hdinsight-kafka-java-get-started/tree/master/DomainJoined-Producer-Consumer). Note that the producer and consumer properties ave an additional property `CommonClientConfigs.SECURITY_PROTOCOL_CONFIG` for ESP enabled clusters.
221-
222-
223-
2. Facing issue with ESP enabled clusters
224-
225-
If produce and consume operations fail and you are using an ESP enabled cluster, check that the user `kafka` is present in all Ranger policies. If it is not present, add it to all Ranger policies.
214+
1. **Topic creation fails** If your cluster is Enterprise Security Pack enabled, use the [pre-built JAR files for producer and consumer](https://github.com/Azure-Samples/hdinsight-kafka-java-get-started/blob/master/Prebuilt-Jars/kafka-producer-consumer-esp.jar). The ESP jar can be built from from the code in the [`DomainJoined-Producer-Consumer` subdirectory](https://github.com/Azure-Samples/hdinsight-kafka-java-get-started/tree/master/DomainJoined-Producer-Consumer). Note that the producer and consumer properties ave an additional property `CommonClientConfigs.SECURITY_PROTOCOL_CONFIG` for ESP enabled clusters.
226215

216+
2. **Facing issue with ESP enabled clusters** If produce and consume operations fail and you are using an ESP enabled cluster, check that the user `kafka` is present in all Ranger policies. If it is not present, add it to all Ranger policies.
227217

228218
## Clean up resources
229219

0 commit comments

Comments
 (0)