This is an automated email from the ASF dual-hosted git repository. tsato pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-examples.git
commit ef7241e396f0dc4f233b70defbe32c6fb88b7f30 Author: Kuthumi Pepple <[email protected]> AuthorDate: Wed Jul 27 18:56:07 2022 +0100 provide more context to kafka/sasl_ssl example --- generic-examples/kafka/sasl_ssl/README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/generic-examples/kafka/sasl_ssl/README.md b/generic-examples/kafka/sasl_ssl/README.md index d6a5a29..0335683 100644 --- a/generic-examples/kafka/sasl_ssl/README.md +++ b/generic-examples/kafka/sasl_ssl/README.md @@ -1,14 +1,16 @@ # Kafka Camel K SASL SSL example -This example shows how Camel K can be used to connect to a generic Kafka broker using SASL SSL authentication mechanism. Edit the `application` properties file with the proper values to be able to authenticate a Kafka Broker and use any Topic. +This example shows how Camel K can be used to connect to a generic Kafka broker that uses `SSL` and `SASL`. ## Prerequisite -You have a Kafka broker available on the cluster, or anywhere else accessible from the cluster. You will need to edit the `application.properties` file setting a "kafka broker", a "SASL username" and a "SASL password". +- A Kafka broker configured to use SSL and SASL for encryption and authentication respectively. It should use the `SASL PLAIN` authentication mechanism in order to use this example. +- You will also need the kafka bootstrap URL and user/service-account credentials with access permissions to topic . You will need to edit the `application.properties` file, setting `camel.component.kafka.brokers` to the kafka bootstrap server URL; setting `username` to the SASL username or service-account-ID; and setting `password` to the SASL password or service-account-secret. +- A kafka topic named `test` in the broker. ## Secret Configuration -For convenience create a secret to contain the sensitive properties in the `application.properties` file: +For convenience, create a secret to contain the sensitive properties in the `application.properties` file: ``` kubectl create secret generic kafka-props --from-file application.properties
