v1ctorShan opened a new issue, #6483: URL: https://github.com/apache/seatunnel/issues/6483
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### What happened java.lang.NoSuchMethodError: org.apache.kafka.clients.admin.AdminClient.listOffsets(Ljava/util/Map;)Lorg/apache/kafka/clients/admin/ListOffsetsResult; work failed in 2.3.4 work successfully in 2.3.3. ### SeaTunnel Version 2.3.4 ### SeaTunnel Config ```conf env { # You can set flink configuration here parallelism = 2 job.mode = "BATCH" } source { Kafka { result_table_name = "kafka_data" schema = { fields { accountId = "string" anonymousUser = "string" attributes = "map<string,string>" clientTime = "string" esId = "string" eventKey = "string" eventTime = "string" eventType = "string" locationLatitude = "string" locationLongitude = "string" packageName = "string" session = "string" userId = "string" userKey = "string" } } topic = "victor" bootstrap.servers = "127.0.0.1:9092" kafka.config = { client.id = client_1 auto.offset.reset = "earliest" enable.auto.commit = "true" } } } sink { LocalFile { path = "/Users/test/" file_format_type = "text" source_table_name = "kafka_data" } } ``` ### Running Command ```shell nohup ./bin/seatunnel.sh --config ./config/kafkasource.conf -e local > nohup.log 2>&1 & ``` ### Error Exception ```log 2024-03-11 12:00:35,952 ERROR [o.a.s.c.s.SeaTunnel ] [main] - Exception StackTrace:org.apache.seatunnel.core.starter.exception.CommandExecuteException: SeaTunnel job executed failed at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:199) at org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40) at org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient.main(SeaTunnelClient.java:34) Caused by: org.apache.seatunnel.engine.common.exception.SeaTunnelEngineException: java.lang.NoSuchMethodError: org.apache.kafka.clients.admin.AdminClient.listOffsets(Ljava/util/Map;)Lorg/apache/kafka/clients/admin/ListOffsetsResult; at org.apache.seatunnel.connectors.seatunnel.kafka.source.KafkaSourceSplitEnumerator.listOffsets(KafkaSourceSplitEnumerator.java:328) at org.apache.seatunnel.connectors.seatunnel.kafka.source.KafkaSourceSplitEnumerator.getTopicInfo(KafkaSourceSplitEnumerator.java:279) at org.apache.seatunnel.connectors.seatunnel.kafka.source.KafkaSourceSplitEnumerator.fetchPendingPartitionSplit(KafkaSourceSplitEnumerator.java:371) at org.apache.seatunnel.connectors.seatunnel.kafka.source.KafkaSourceSplitEnumerator.run(KafkaSourceSplitEnumerator.java:130) at org.apache.seatunnel.engine.server.task.SourceSplitEnumeratorTask.stateProcess(SourceSplitEnumeratorTask.java:307) at org.apache.seatunnel.engine.server.task.SourceSplitEnumeratorTask.call(SourceSplitEnumeratorTask.java:134) at org.apache.seatunnel.engine.server.TaskExecutionService$BlockingWorker.run(TaskExecutionService.java:643) at org.apache.seatunnel.engine.server.TaskExecutionService$NamedTaskWrapper.run(TaskExecutionService.java:944) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:191) ... 2 more ``` ### Zeta or Flink or Spark Version _No response_ ### Java or Scala Version _No response_ ### Screenshots _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
