[kafka] Fix incorrect producer consumer address in notes template (#8248)

* Fix incorrect producer cosnumer address in notes template

Signed-off-by: Michael Koukoullis <mike@kouky.org>

* Bump version

Signed-off-by: Michael Koukoullis <mike@kouky.org>

* Use same template as service definition

Signed-off-by: Michael Koukoullis <mike@kouky.org>
This commit is contained in:
Michael Koukoullis
2018-10-08 08:35:10 -07:00
committed by k8s-ci-robot
parent c76f25ae9c
commit 9dcbc2e7fb
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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