Skip to content

Commit 5cb8564

Browse files
Update apache-kafka-ssl-encryption-authentication.md
Minor edits to fix blocking and nonblocking issues
1 parent 99b8c41 commit 5cb8564

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/hdinsight/kafka/apache-kafka-ssl-encryption-authentication.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This article shows you how to set up SSL encryption between Apache Kafka clients
1616
> [!Important]
1717
> There are two clients which you can use for Kafka applications: a Java client and a console client. Only the Java client `ProducerConsumer.java` can use SSL for both producing and consuming. The console producer client `console-producer.sh` does not work with SSL.
1818
19-
## Apache Kafka Broker setup
19+
## Apache Kafka broker setup
2020

2121
The Kafka SSL broker setup will use four HDInsight cluster VMs in the following way:
2222

@@ -145,7 +145,7 @@ To complete the configuration modification, do the following steps:
145145
146146
1. Go to Ambari configuration UI and verify that the new properties show up under **Advanced kafka-env** and the **kafka-env template** property.
147147
148-
![Editing kafka-env template property in Ambari](./media/apache-kafka-ssl-encryption-authentication/editing-configuration-kafka-env.png)
148+
![Editing kafka-env template property in Ambari](./media/apache-kafka-ssl-encryption-authentication/editing-configuration-kafka-env.png)
149149
150150
1. Restart all Kafka brokers.
151151
1. Start the admin client with producer and consumer options to verify that both producers and consumers are working on port 9093.
@@ -205,7 +205,7 @@ These steps are detailed in the following code snippets.
205205
## Client setup (with authentication)
206206

207207
> [!Note]
208-
> The following steps are required only if you are setting up both SSL encryption **and** authentication. If you are only setting up encryption, please proceed to [Client setup without authentication](apache-kafka-ssl-encryption-authentication.md#client-setup-without-authentication)
208+
> The following steps are required only if you are setting up both SSL encryption **and** authentication. If you are only setting up encryption, then see [Client setup without authentication](apache-kafka-ssl-encryption-authentication.md#client-setup-without-authentication).
209209

210210
The following four steps summarize the tasks needed to complete the client setup:
211211

@@ -292,7 +292,7 @@ The details of each step are given below.
292292

293293
### Kafka 2.1 or above
294294

295-
1. Create a topic if it doesnt exist already.
295+
1. Create a topic if it doesn't exist already.
296296
297297
```bash
298298
/usr/hdp/current/kafka-broker/bin/kafka-topics.sh --zookeeper <ZOOKEEPER_NODE>:2181 --create --topic topic1 --partitions 2 --replication-factor 2
@@ -312,7 +312,7 @@ The details of each step are given below.
312312
313313
### Kafka 1.1
314314
315-
1. Create a topic if it doesnt exist already.
315+
1. Create a topic if it doesn't exist already.
316316

317317
```bash
318318
/usr/hdp/current/kafka-broker/bin/kafka-topics.sh --zookeeper <ZOOKEEPER_NODE_0>:2181 --create --topic topic1 --partitions 2 --replication-factor 2
@@ -324,7 +324,7 @@ The details of each step are given below.
324324
/usr/hdp/current/kafka-broker/bin/kafka-console-producer.sh --broker-list <FQDN_WORKER_NODE>:9092 --topic topic1
325325
```
326326

327-
3. open another ssh connection to client machine and start console consumer and provide the path to `client-ssl-auth.properties` as a configuration file for the consumer.
327+
3. Open another ssh connection to client machine and start console consumer and provide the path to `client-ssl-auth.properties` as a configuration file for the consumer.
328328

329329
```bash
330330
$ /usr/hdp/current/kafka-broker/bin/kafka-console-consumer.sh --bootstrap-server <FQDN_WORKER_NODE>:9093 --topic topic1 --consumer.config ~/ssl/client-ssl-auth.properties --from-beginning

0 commit comments

Comments
 (0)