The error message from the connect pod:
org.apache.kafka.common.KafkaException: Failed to create new KafkaAdminClient at org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:554) at org.apache.kafka.clients.admin.Admin.create(Admin.java:147) at org.apache.kafka.connect.runtime.WorkerConfig.lookupKafkaClusterId(WorkerConfig.java:284) at org.apache.kafka.connect.runtime.WorkerConfig.kafkaClusterId(WorkerConfig.java:415) at org.apache.kafka.connect.cli.AbstractConnectCli.startConnect(AbstractConnectCli.java:124) at org.apache.kafka.connect.cli.AbstractConnectCli.run(AbstractConnectCli.java:94) at org.apache.kafka.connect.cli.ConnectDistributed.main(ConnectDistributed.java:113) Caused by: org.apache.kafka.common.config.ConfigException: You must set either bootstrap.servers or bootstrap.controllers at org.apache.kafka.clients.admin.internals.AdminBootstrapAddresses.fromConfig(AdminBootstrapAddresses.java:62) at org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:523) ... 6 more
From the connector config, the bootstrap server's property is empty: bootstrap.servers
We didn't set the bootstrapServers the configuration property for the connect cluster.
Operator version: operator-0.4.25 v2.1.26-24.1.9
The error message from the connect pod:
org.apache.kafka.common.KafkaException: Failed to create new KafkaAdminClient at org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:554) at org.apache.kafka.clients.admin.Admin.create(Admin.java:147) at org.apache.kafka.connect.runtime.WorkerConfig.lookupKafkaClusterId(WorkerConfig.java:284) at org.apache.kafka.connect.runtime.WorkerConfig.kafkaClusterId(WorkerConfig.java:415) at org.apache.kafka.connect.cli.AbstractConnectCli.startConnect(AbstractConnectCli.java:124) at org.apache.kafka.connect.cli.AbstractConnectCli.run(AbstractConnectCli.java:94) at org.apache.kafka.connect.cli.ConnectDistributed.main(ConnectDistributed.java:113) Caused by: org.apache.kafka.common.config.ConfigException: You must set either bootstrap.servers or bootstrap.controllers at org.apache.kafka.clients.admin.internals.AdminBootstrapAddresses.fromConfig(AdminBootstrapAddresses.java:62) at org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:523) ... 6 more
From the connector config, the bootstrap server's property is empty:
bootstrap.servers
We didn't set thebootstrapServers
the configuration property for the connect cluster.JIRA Link: K8S-340