apache / seatunnel

SeaTunnel is a next-generation super high-performance, distributed, massive data integration tool.
https://seatunnel.apache.org/
Apache License 2.0
7.81k stars 1.76k forks source link

mysql cdc table-pattern report errors #7354

Open 20100507 opened 1 month ago

20100507 commented 1 month ago

I want to synchronize history_20220202 history_20220203 History_20220808: Data from these tables。Here is my script

env {
  parallelism = 1
  job.mode = "STREAMING"
  checkpoint.interval = 10000
}

source {
  MySQL-CDC {
    base-url = "jdbc:mysql://xxxx:19901/a"
    username = "root"
    password = "root"
    table-pattern="a.history_*"
    database = ["a"]
    table-names-config = [
      {
        primaryKeys = ["id"]
      }
    ]
    catalog = {
      factory=mysql
    }
  }
}

sink {
  Console {
  }
}

Synchronize tables in MySQL through regular matching; Task submission error; It is possible that there is an issue with my configuration; How should I modify it?

zhilinli123 commented 1 month ago

You should provide error info

20100507 commented 1 month ago

@zhilinli123 I don't quite know how to configure

github-actions[bot] commented 2 days ago

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.