DarioBalinzo / kafka-connect-elasticsearch-source

Kafka Connect Elasticsearch Source
Apache License 2.0
65 stars 38 forks source link

Connector failed to run #111

Open umesh-kushwaha opened 7 months ago

umesh-kushwaha commented 7 months ago

I am trying to run the connector but its failing. I tried other connector with same docker-compose file and its working. Error

kafka-connect-poc-connect-1 | [2024-04-30 06:56:08,725] INFO Added aliases 'PrincipalConnectorClientConfigOverridePolicy' and 'Principal' to plugin 'org.apache.kafka.connect.connector.policy.PrincipalConnectorClientConfigOverridePolicy' (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader) kafka-connect-poc-connect-1 | [2024-04-30 06:56:08,734] ERROR Stopping due to error (org.apache.kafka.connect.cli.ConnectDistributed) kafka-connect-poc-connect-1 | java.lang.NoSuchFieldError: DEFAULT kafka-connect-poc-connect-1 | at org.apache.kafka.connect.runtime.WorkerConfig.baseConfigDef(WorkerConfig.java:258) kafka-connect-poc-connect-1 | at org.apache.kafka.connect.runtime.distributed.DistributedConfig.<clinit>(DistributedConfig.java:181) kafka-connect-poc-connect-1 | at org.apache.kafka.connect.cli.ConnectDistributed.startConnect(ConnectDistributed.java:95) kafka-connect-poc-connect-1 | at org.apache.kafka.connect.cli.ConnectDistributed.main(ConnectDistributed.java:80) kafka-connect-poc-control-center-1

My docker-compose file

`version: '2.1'

services:

elasticsearch: image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.8.23 ports:

anyone help me to fix this