[bitnami/kafka] Fix instructions to use a producer (#3236)

Signed-off-by: juan131 <juanariza@vmware.com>
This commit is contained in:
Juan Ariza Toledano
2020-07-27 17:42:42 +02:00
committed by GitHub
parent 80fdb51b50
commit 6b94839ba4
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v1
name: kafka
version: 11.6.1
version: 11.6.2
appVersion: 2.5.0
description: Apache Kafka is a distributed streaming platform.
keywords:

View File

@@ -61,10 +61,11 @@ Each Kafka broker can be accessed by producers via port {{ $servicePort }} on th
{{- $brokerList := list }}
{{- range $e, $i := until $replicaCount }}
{{- $brokerList = append $brokerList (printf "%s-%d.%s-headless.%s.svc.%s" $fullname $i $fullname $releaseNamespace $clusterDomain) }}
{{- $brokerList = append $brokerList (printf "%s-%d.%s-headless.%s.svc.%s:%d" $fullname $i $fullname $releaseNamespace $clusterDomain $servicePort) }}
{{- end }}
{{ join "\n" $brokerList | nindent 4 }}
{{- if (include "kafka.client.saslAuthentication" .) }}
You need to configure your Kafka client to access using SASL authentication. To do so, you need to create the 'kafka_jaas.conf' and 'client.properties' configuration files with the content below: