cp-helm-charts icon indicating copy to clipboard operation
cp-helm-charts copied to clipboard

Multiple Bootstrap Servers in cp-kafka-connect chart

Open jonwhitty opened this issue 3 years ago • 2 comments

I'm trying to specify multiple bootstrap servers when installing the cp-kafka-connect chart.

git clone https://github.com/confluentinc/cp-helm-charts.git
cd cp-helm-charts

helm install kafka-connect --set kafka.bootstrapServers="host1:9092,host2:9092,host3:9092" ./charts/cp-kafka-connect

helm install kafka-connect --set kafka.bootstrapServers="PLAINTEXT://host1:9092,host2:9092,host3:9092" ./charts/cp-kafka-connect

helm install kafka-connect --set kafka.bootstrapServers="PLAINTEXT://host1:9092,PLAINTEXT://host2:9092,PLAINTEXT://host3:9092" ./charts/cp-kafka-connect

all three options fail with the error

Error: failed parsing --set data: key "com:9092" has no value (cannot end with ,)

What is the proper way to set multiple bootstrap servers?

jonwhitty avatar Oct 05 '21 17:10 jonwhitty

I got it to work by escaping the comma, in terraform using \\, and thus probably \, on the command line

sdahlbac avatar Feb 11 '22 07:02 sdahlbac

Another question is that I only need to install Kafka Connect because I already have kafka, schema-registry. How can I fill Kafka credential in Kafka Connect value.yaml?

QuanTran91 avatar Oct 06 '23 04:10 QuanTran91