From 9dcbc2e7fbdc8b58d915cdfb62c985a2075558d2 Mon Sep 17 00:00:00 2001 From: Michael Koukoullis Date: Tue, 9 Oct 2018 02:35:10 +1100 Subject: [PATCH] [kafka] Fix incorrect producer consumer address in notes template (#8248) * Fix incorrect producer cosnumer address in notes template Signed-off-by: Michael Koukoullis * Bump version Signed-off-by: Michael Koukoullis * Use same template as service definition Signed-off-by: Michael Koukoullis --- incubator/kafka/Chart.yaml | 2 +- incubator/kafka/templates/NOTES.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/incubator/kafka/Chart.yaml b/incubator/kafka/Chart.yaml index 17ce06952c..e0636170f6 100755 --- a/incubator/kafka/Chart.yaml +++ b/incubator/kafka/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 description: Apache Kafka is publish-subscribe messaging rethought as a distributed commit log. name: kafka -version: 0.11.0 +version: 0.11.1 appVersion: 4.1.2 keywords: - kafka diff --git a/incubator/kafka/templates/NOTES.txt b/incubator/kafka/templates/NOTES.txt index 5e0d555115..d4450e1093 100644 --- a/incubator/kafka/templates/NOTES.txt +++ b/incubator/kafka/templates/NOTES.txt @@ -27,12 +27,12 @@ To create a new topic: To listen for messages on a topic: - kubectl -n {{ .Release.Namespace }} exec -ti testclient -- /usr/bin/kafka-console-consumer --bootstrap-server {{ .Release.Name }}-kafka:9092 --topic test1 --from-beginning + kubectl -n {{ .Release.Namespace }} exec -ti testclient -- /usr/bin/kafka-console-consumer --bootstrap-server {{ include "kafka.fullname" . }}:9092 --topic test1 --from-beginning To stop the listener session above press: Ctrl+C To start an interactive message producer session: - kubectl -n {{ .Release.Namespace }} exec -ti testclient -- /usr/bin/kafka-console-producer --broker-list {{ .Release.Name }}-kafka-headless:9092 --topic test1 + kubectl -n {{ .Release.Namespace }} exec -ti testclient -- /usr/bin/kafka-console-producer --broker-list {{ include "kafka.fullname" . }}-headless:9092 --topic test1 To create a message in the above session, simply type the message and press "enter" To end the producer session try: Ctrl+C