cp-helm-charts
cp-helm-charts copied to clipboard
Multiple Bootstrap Servers in cp-kafka-connect chart
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?
I got it to work by escaping the comma, in terraform using \\,
and thus probably \,
on the command line
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?