[Bug] [connector-kafka] MySQL-CDC to Kafka,multi topics are not supported
- Dominant language
- Java
- Stars
- 9.7k
- Forks
- 2.4k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 204
Description
### 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
Kafka sink,when config topic as multiple,can not create topics automatically and can't write data to kafka without error message
### SeaTunnel Version
2.3.11
### SeaTunnel Config
```conf
env {
parallelism = 1
job.mode = "STREAMING"
checkpoint.interval = 60000
}
source {
MySQL-CDC {
plugin_output = "caihui"
username = "******"
password = "******"
hostname = x.x.x.x
base-url="jdbc:mysql://x.x.x.x:xxx/caihui"
"startup.mode"=INITIAL
table-names=[
"caihui.tq_rt_rate",
"caihui.tq_sk_proipo"
]
# compatible_debezium_json options
format = compatible_debezium_json
debezium = {
# include schema into kafka message
key.converter.schemas.enable = false
value.converter.schemas.enable = false
# include ddl
include.schema.changes = true
# topic prefix
database.server.name = "caihui"
}
}
}
sink {
Kafka {
plugin_input = "caihui"
topic = "caihui.caihui.tq_rt_rate,caihui.caihui.tq_sk_proipo"
bootstrap.servers = "x.x.x.x:xxx"
# compatible_debezium_json options
format = compatible_debezium_json
}
}
```
### Running Command
```shell
sh bin/seatunnel.sh -c mysql-cdc2kafka
```
### Error Exception
```log
No error message,but the log show like this
```
### Zeta or Flink or Spark Version
zeta
### Java or Scala Version
jdk-11
### Screenshots
[mysql-cdc2kafka_caihui_202509291420.log](https://github.com/user-attachments/files/22590875/mysql-cdc2kafka_caihui_202509291420.log)
### 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)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.