You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "zhangshenghang (via GitHub)" <gi...@apache.org> on 2026/04/08 06:20:48 UTC
[I] [Feature][MySQL-CDC] Add multi-database multi-table e2e testcase [seatunnel]
zhangshenghang opened a new issue, #10722:
URL: https://github.com/apache/seatunnel/issues/10722
### Search before asking
- [x] I had searched in the [feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22) and found no similar feature requirement.
### Description
MySQL-CDC already has multi-table E2E coverage, but the current testcase only covers two tables from the same source database.
Current coverage references:
- `testMysqlCdcMultiTableE2e` in `seatunnel-e2e/seatunnel-connector-v2-e2e/connector-cdc-mysql-e2e/src/test/java/org/apache/seatunnel/connectors/seatunnel/cdc/mysql/AbstractMysqlCDCITBase.java`
- `/mysqlcdc_to_mysql_with_multi_table_mode_two_table.conf` uses `table-names = ["mysql_cdc.mysql_cdc_e2e_source_table", "mysql_cdc.mysql_cdc_e2e_source_table2"]` with a single source URL `jdbc:mysql://mysql_cdc_e2e:3306/mysql_cdc`
The connector documentation exposes `database-names` and `table-names`, but we do not have an E2E testcase that validates one CDC job reading tables from more than one source database in multi-table mode.
It would be helpful to add a dedicated E2E testcase under `seatunnel-e2e/seatunnel-connector-v2-e2e/connector-cdc-mysql-e2e` to cover this scenario.
Suggested scope:
- prepare at least two source databases and multiple source tables
- run one MySQL-CDC job that captures tables from multiple databases
- verify snapshot stage and incremental insert/update/delete events
- verify sink-side table routing is correct for all captured tables
- if possible, extend restore/checkpoint coverage for the same scenario
### Usage Scenario
A common CDC job needs to synchronize multiple tables from different MySQL databases in one pipeline, for example `db1.table_a`, `db1.table_b`, and `db2.table_c`. Without an E2E testcase, regressions in table discovery, table config mapping, or sink routing across databases can slip through.
### Related issues
- Similar E2E follow-up issues existed for other CDC connectors, for example #5678 and #5679.
### Are you willing to submit a 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: commits-unsubscribe@seatunnel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][MySQL-CDC] Add multi-database multi-table e2e testcase [seatunnel]
Posted by "nzw921rx (via GitHub)" <gi...@apache.org>.
nzw921rx commented on issue #10722:
URL: https://github.com/apache/seatunnel/issues/10722#issuecomment-4208010971
@zhangshenghang I'd like to work on this issue
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][MySQL-CDC] Add multi-database multi-table e2e testcase [seatunnel]
Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo closed issue #10722: [Feature][MySQL-CDC] Add multi-database multi-table e2e testcase
URL: https://github.com/apache/seatunnel/issues/10722
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][MySQL-CDC] Add multi-database multi-table e2e testcase [seatunnel]
Posted by "julianbradford19-png (via GitHub)" <gi...@apache.org>.
julianbradford19-png commented on issue #10722:
URL: https://github.com/apache/seatunnel/issues/10722#issuecomment-4208020595
Thank you for volunteering to work on this issue. Since zhangshenghang
originally proposed the feature and expressed interest in submitting a PR,
please coordinate with them to ensure there is no overlap in your efforts.
On Wed, Apr 8, 2026, 12:03 PM zhiwei.niu ***@***.***> wrote:
> *nzw921rx* left a comment (apache/seatunnel#10722)
> <https://github.com/apache/seatunnel/issues/10722#issuecomment-4208010971>
>
> @zhangshenghang <https://github.com/zhangshenghang> I'd like to work on
> this issue
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/seatunnel/issues/10722#issuecomment-4208010971>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/B74KUGZO7T4B26E3QZM4DE34U2A4LAVCNFSM6AAAAACXQN5FJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DEMBYGAYTAOJXGE>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][MySQL-CDC] Add multi-database multi-table e2e testcase [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #10722:
URL: https://github.com/apache/seatunnel/issues/10722#issuecomment-4214309448
Thanks for volunteering to help here.
I checked the issue state again and there is still no dev-branch PR linked yet.
To avoid overlap, the cleanest next step would be:
1. @zhangshenghang please confirm whether you want to implement this issue yourself
2. if not, @nzw921rx can take it and open the first PR
3. if both of you want to help, please coordinate so that one person owns the first PR and the other helps review / test
The scope should stay exactly as framed in the issue: one MySQL-CDC job across multiple databases, with snapshot + incremental verification and sink-side routing checks.
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][MySQL-CDC] Add multi-database multi-table e2e testcase [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #10722:
URL: https://github.com/apache/seatunnel/issues/10722#issuecomment-4204671893
Thanks for raising this. I checked the current MySQL-CDC path and this looks like a valid E2E coverage gap.
The runtime side already accepts multiple databases through the MySQL CDC config path, but the existing E2E case only validates multiple tables under the same source database. So the missing part here is test coverage, not the value of the scenario itself.
I do not see a dev PR linked to this issue yet. If someone wants to take it, the scope looks good for a focused contribution:
1. prepare at least two source databases with multiple source tables
2. run one MySQL-CDC job covering those tables
3. verify snapshot and insert/update/delete events
4. verify sink-side routing for all captured tables
Starting from the existing `testMysqlCdcMultiTableE2e` test and its config would be a good approach. Keeping the first PR focused on this one scenario will make review much easier.
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org