Cp-docker-images: CONNECT_BOOTSTRAP_SERVERS

Created on 23 Apr 2018  路  5Comments  路  Source: confluentinc/cp-docker-images

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)

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."

All 5 comments

"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."

Thanks. Feel free to close this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Tin-Nguyen picture Tin-Nguyen  路  6Comments

gunjanarora picture gunjanarora  路  4Comments

mariuscoto picture mariuscoto  路  4Comments

strigona-worksight picture strigona-worksight  路  6Comments

cavemenlife picture cavemenlife  路  7Comments