Skip to content

Commit

Permalink
[#253] Update NOTES.txt with information related to Kafka.
Browse files Browse the repository at this point in the history
Signed-off-by: Abel Buechner-Mihaljevic <[email protected]>
  • Loading branch information
b-abel authored and sophokles73 committed Sep 30, 2021
1 parent c12926f commit 37b8e52
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/hono/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ name: hono
description: |
Eclipse Hono™ provides remote service interfaces for connecting large numbers of IoT devices to a back end and
interacting with them in a uniform way regardless of the device communication protocol.
version: 1.10.1
version: 1.10.2
# Version of Hono being deployed by the chart
appVersion: 1.9.1
keywords:
Expand Down
22 changes: 22 additions & 0 deletions charts/hono/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,31 @@ NAME {{ "READY STATUS RESTARTS AGE"
{{ .Release.Name }}-service-device-registry-0 1/1 Running 0 5m51s

Once all pods have status 'Running', Hono is ready to be used.
{{- if (has "amqp" .Values.messagingNetworkTypes) }}

To learn more about Hono's functionality, you should follow the Getting started guide at
https://eclipse.org/hono/getting-started/
{{- end }}
{{- if (has "kafka" .Values.messagingNetworkTypes) }}
{{ if .Values.kafkaMessagingClusterExample.enabled }}
Hono is configured with an example Kafka cluster for messaging. To learn more
about it, you should follow the Kafka messaging guide at
https://eclipse.org/hono/getting-started-kafka/
Clients can connect to the Kafka cluster with the configuration properties below
(see the above guide on how to set $KAFKA_IP and $KAFKA_TRUSTSTORE_PATH).

bootstrap.servers=$KAFKA_IP:9092
ssl.truststore.location=$KAFKA_TRUSTSTORE_PATH
security.protocol=SASL_SSL
sasl.mechanism=SCRAM-SHA-512
sasl.jaas.config=org.apache.kafka.common.security.scram.ScramLoginModule required username="{{ first .Values.kafka.auth.sasl.jaas.clientUsers }}" password="{{ first .Values.kafka.auth.sasl.jaas.clientPasswords }}";
ssl.truststore.password={{ .Values.kafka.auth.tls.password | quote }}
ssl.endpoint.identification.algorithm=""
{{- else }}
The messaging in Hono is configured to use the Kafka cluster with the boostrap servers:
{{ index .Values.adapters.kafkaMessagingSpec.commonClientConfig "bootstrap.servers" }}
{{- end }}
{{- end }}

Enjoy :-)

0 comments on commit 37b8e52

Please sign in to comment.