Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#253] Update NOTES.txt with information related to Kafka. #254

Merged
merged 1 commit into from
Sep 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 :-)