We use the following list of bootstrap hosts:
zookeeper-1.apps.local:2181,zookeeper-2.apps.local:2181,zookeeper-3.apps.local:2181/kafka
This works for schema-registry and rest, but not for connect ('latest'). On startup we get: org.apache.kafka.common.config.ConfigException: Invalid url in bootstrap.servers: zookeeper-3.apps.local:2181/kafka.
Is this supposed to work? Do I have to use Kafka hosts instead of Zookeeper?
Also, the documentation for CONNECT_BOOTSTRAP_SERVERS says "A unique string that identifies the Connect cluster group this worker belongs to.", which seems to belong to CONNECT_GROUP_ID (see https://docs.confluent.io/current/installation/docker/docs/configuration.html#kafka-connect)
"Bootstrap" commonly refers to the Kafka servers, not the ZK Connect string.
https://docs.confluent.io/current/connect/userguide.html#common-worker-configs
A list of host/port pairs to use for establishing the initial connection to the Kafka cluster
Ok. If the docs at https://docs.confluent.io/current/installation/docker/docs/configuration.html#kafka-connect could be updated, that would solve the confusion.
The "CONNECT_BOOTSTRAP_SERVERS" entry still says "A unique string that identifies the Connect cluster group this worker belongs to."
Feel free to open a PR
https://github.com/confluentinc/cp-docker-images/blob/master/docs/configuration.rst#required-settings-5
Thanks. Feel free to close this issue.
Most helpful comment
Ok. If the docs at https://docs.confluent.io/current/installation/docker/docs/configuration.html#kafka-connect could be updated, that would solve the confusion.
The "CONNECT_BOOTSTRAP_SERVERS" entry still says "A unique string that identifies the Connect cluster group this worker belongs to."