hanwei996 opened a new issue, #2313: URL: https://github.com/apache/incubator-seatunnel/issues/2313
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### What happened source kafka to sink kafka error : Plugin[org.apache.seatunnel.flink.kafka.sink.KafkaSink] contains invalid config, error: please specify [topics] as non-empty ------------------- Sink Kafka has no topics parameter in the official documentation <img width="788" alt="image" src="https://user-images.githubusercontent.com/43572770/182026073-627cf1da-3a13-4946-b2bc-77c9fdcdcee3.png"> ### SeaTunnel Version 2.1.2 ### SeaTunnel Config ```conf config/example01.conf ` env { # You can set flink configuration here execution.parallelism = 1 #execution.checkpoint.interval = 10000 #execution.checkpoint.data-uri = "hdfs://localhost:9000/checkpoint" } source { KafkaTableStream { consumer.bootstrap.servers = "hadoop01:9092" consumer.group.id = "seatunnel-learn" topics = test_csv result_table_name = test format.type = csv schema = "[{\"field\":\"name\",\"type\":\"string\"},{\"field\":\"age\", \"type\": \"int\"}]" format.field-delimiter = ";" format.allow-comments = "true" format.ignore-parse-errors = "true" } } transform { sql { sql = "select name,age from test where age > '"${age}"'" } } sink { kafka { topic = "test_sink" producer.bootstrap.servers = "hadoop01:9092" } }` ``` ### Running Command ```shell bin/start-seatunnel-flink.sh --config config/example01.conf -i age=18 ``` ### Error Exception ```log 2022-07-31 19:29:36,070 ERROR org.apache.seatunnel.core.base.command.BaseTaskExecuteCommand [] - Plugin[org.apache.seatunnel.flink.kafka.sink.KafkaSink] contains invalid config, error: please specify [topics] as non-empty ``` ### Flink or Spark Version Flink 1.12.7 ### Java or Scala Version _No response_ ### Screenshots _No response_ ### Are you willing to submit PR? - [ ] 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]
