cp-all-in-one icon indicating copy to clipboard operation
cp-all-in-one copied to clipboard

java.lang.NoSuchFieldError: DEFAULT_SOCKET_CONNECTION_SETUP_TIMEOUT_MS

Open izzie88 opened this issue 2 years ago • 3 comments

Kafka connect does not start up. it dies when it throws the error : java.lang.NoSuchFieldError: DEFAULT_SOCKET_CONNECTION_SETUP_TIMEOUT_MS

Troubleshooting Identify any existing issues that seem related: https://github.com/confluentinc/cp-all-in-one/issues?q=is%3Aissue

If applicable, please include the output of: connect1 | [2021-08-08 00:23:22,041] ERROR Stopping due to error(org.apache.kafka.connect.cli.ConnectDistributed) connect1 | java.lang.NoSuchFieldError: DEFAULT_SOCKET_CONNECTION_SETUP_TIMEOUT_MS connect1 | at org.apache.kafka.connect.runtime.distributed.DistributedConfig.(DistributedConfig.java:245) connect1 | at org.apache.kafka.connect.cli.ConnectDistributed.startConnect(ConnectDistributed.java:95) connect1 | at org.apache.kafka.connect.cli.ConnectDistributed.main(ConnectDistributed.java:80)

Environment

  • cp-kakfka-connect-6.2.0
  • Operating System: ubuntu
  • Version of Docker: 20.10.7
  • Version of Docker Compose: 1.21.2

Kafka-connect keeps dying after the error above is logged. zookeper and broker running fine.

izzie88 avatar Aug 08 '21 00:08 izzie88

Without seeing your actual run command (the variables you've given to the connect image), this issue seems to be related to Kafka itself, not the Docker image (thus would be instead need to be posted to Kafka JIRA)

OneCricketeer avatar Sep 07 '21 23:09 OneCricketeer

Did you find any solution for this issue?

gmeena avatar Jul 07 '22 11:07 gmeena

我现在也遇到了同样的问题,请问你是如何解决的。

galenliu6 avatar Jan 28 '23 06:01 galenliu6