You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "vsantonastaso (via GitHub)" <gi...@apache.org> on 2026/04/04 12:16:47 UTC
[I] [Feature][Connector-V2] Upgrade Debezium to 2.7.4.Final [seatunnel]
vsantonastaso opened a new issue, #10708:
URL: https://github.com/apache/seatunnel/issues/10708
### 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
### Context
Seatunnel is currently on Debezium 1.9.8.
This is the first step toward upgrading to the latest version (3.x).
Jumping directly from 1.9.8 to 3.x is too risky, so we're doing this in iteration.
This issue covers upgrading to 2.7.4.Final (latest 2.x LTS release).
Related: #10632
### Why 2.7.4.Final?
- It's the latest stable 2.x release
- More conservative upgrade path from 1.9.8
Once this is stable, we can plan the 3.x upgrade separately.
### Affected Components
- MySQL CDC connector
- Oracle CDC connector
- PostgreSQL CDC connector
- SQL Server CDC connector
### Compatibility Notes
Debezium 2.x should still support MySQL 5.7 but it's not fully tested for this version, so we need to verify this during testing. If there are issues, we'll document and discuss them before merging.
### Next Steps
After this merges and stabilizes, we can open a separate issue for the 3.x upgrade.
### Usage Scenario
_No response_
### Related issues
_No response_
### Are you willing to submit a 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: commits-unsubscribe@seatunnel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][Connector-V2] Upgrade Debezium to 2.7.4.Final [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #10708:
URL: https://github.com/apache/seatunnel/issues/10708#issuecomment-4241369582
Thanks for digging into this and reporting back with the migration result.
I rechecked the current `dev` structure, and your latest conclusion is correct: from the current code layout, this is no longer a realistic “one connector first” change.
Today `debezium.version` is still centralized in `seatunnel-connectors-v2/connector-cdc/pom.xml`, and `connector-cdc-base` plus several CDC connectors still depend on copied / customized Debezium internals. That means once the base contract moves to 2.7.4, the compile/runtime surface changes for all CDC modules together, not just one connector.
So from here I think the next practical path is one of these:
1. a preparatory refactor PR that reduces the shared 1.9-specific / copied Debezium coupling in `connector-cdc-base`, or
2. one coordinated umbrella upgrade PR that explicitly includes `connector-cdc-base` and every affected CDC connector, with a connector-by-connector verification matrix
I still do not see a linked `dev` PR for this issue yet.
If you want to keep moving, I would suggest keeping this issue as the umbrella tracker and then opening either:
- a small “pre-refactor” PR first, or
- the coordinated CDC upgrade PR directly
Thanks again for pushing on this. Your latest update helped narrow the real migration boundary a lot.
--
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][Connector-V2] Upgrade Debezium to 2.7.4.Final [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #10708:
URL: https://github.com/apache/seatunnel/issues/10708#issuecomment-4214309657
Thanks, that sounds like the right next step.
I checked the current repository structure again and I would strongly recommend starting with MySQL or Postgres first, not Oracle or OpenGauss. The reason is that Oracle/OpenGauss still carry deeper copied/customized Debezium internals, so they make the first upgrade slice much riskier.
So when you open the first PR, please keep it tight:
1. one connector path first
2. Debezium `2.7.4.Final` only
3. list the affected copied/customized classes explicitly in the PR description
4. keep the larger multi-connector migration in this umbrella issue
I still do not see a dev-branch PR linked to this issue yet.
--
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][Connector-V2] Upgrade Debezium to 2.7.4.Final [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #10708:
URL: https://github.com/apache/seatunnel/issues/10708#issuecomment-4203450728
Thanks for raising this. I checked the current repository state again: Debezium is still pinned at `1.9.8.Final` in the core CDC dependency path, and some CDC connectors still depend on copied / customized Debezium internals.
So I agree this upgrade is worth doing, but I would not treat it as a simple dependency bump. I also do not see a dev PR linked to this issue yet. The safest next step is to keep this as the umbrella issue and split the real work connector by connector, starting with the lower-risk paths first.
--
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][Connector-V2] Upgrade Debezium to 2.7.4.Final [seatunnel]
Posted by "vsantonastaso (via GitHub)" <gi...@apache.org>.
vsantonastaso commented on issue #10708:
URL: https://github.com/apache/seatunnel/issues/10708#issuecomment-4221967045
I'm still not able to work on it yet. I'll open the first PR asap.
Thanks
--
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][Connector-V2] Upgrade Debezium to 2.7.4.Final [seatunnel]
Posted by "julianbradford19-png (via GitHub)" <gi...@apache.org>.
julianbradford19-png commented on issue #10708:
URL: https://github.com/apache/seatunnel/issues/10708#issuecomment-4206895646
Thanks for the guidance, Daniel and David. I’ll start with a small PR
targeting Debezium 2.7.4.Final for one connector first and list all
affected copied classes.
On Wed, Apr 8, 2026, 2:53 AM Daniel ***@***.***> wrote:
> *DanielLeens* left a comment (apache/seatunnel#10708)
> <https://github.com/apache/seatunnel/issues/10708#issuecomment-4204671892>
>
> Thanks, and I agree with keeping this moving.
>
> I re-checked the current repository state on dev: Debezium is still
> pinned at 1.9.8.Final, and this is not only an external dependency bump
> for SeaTunnel. We still carry copied / customized io.debezium classes in
> several CDC modules, so the real work here is compatibility migration.
>
> So from the current code base, the safest next step is:
>
> 1. keep this issue as the umbrella tracker
> 2. open a focused PR against dev
> 3. keep that PR scoped to Debezium 2.7.4.Final only
> 4. clearly list the affected connectors / copied classes in the PR
> description
>
> I still do not see a dev PR linked here yet, so the next concrete
> milestone is to get that first reviewable slice opened. A smaller
> connector-by-connector path will be much easier to validate than one large
> all-in change.
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/seatunnel/issues/10708#issuecomment-4204671892>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/B74KUG6KBVTMHTFEVTJTX6D4UYAO3AVCNFSM6AAAAACXMTXP56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DEMBUGY3TCOBZGI>
> .
> 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][Connector-V2] Upgrade Debezium to 2.7.4.Final [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #10708:
URL: https://github.com/apache/seatunnel/issues/10708#issuecomment-4324343342
Thanks for keeping this moving. I rechecked this umbrella issue again on April 27, 2026, and there is now concrete follow-up work in PR #10799.
So this is no longer a "no PR yet" situation. The important part is that this issue should still remain the umbrella tracker, because #10799 is not merge-ready yet.
The current review state there is still focused on a deeper boundary question: whether `connector-cdc-base` is really becoming version-neutral, or whether the shared base is still the place where Debezium-version-sensitive behavior stays locked. Until that part is resolved, I would not treat the `2.7.4.Final` upgrade path as settled.
So the practical next step is:
1. continue the detailed review / fixes on #10799 (or an equivalent prerequisite refactor);
2. keep this issue as the umbrella tracker for the overall `1.9.8.Final -> 2.7.4.Final` effort;
3. once the prerequisite lands, track connector-by-connector verification here, especially MySQL / PostgreSQL / Oracle / SQLServer and any copied / customized Debezium paths.
In short: real progress exists now, but the core compatibility boundary is still open, so this issue should stay open and continue to track the larger upgrade plan.
--
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][Connector-V2] Upgrade Debezium to 2.7.4.Final [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #10708:
URL: https://github.com/apache/seatunnel/issues/10708#issuecomment-4222250014
Thanks for the update. No problem if you have not started the first PR yet.
I re-checked the current repository state on `dev`, and the situation is still the same in principle:
- Debezium is still pinned at `1.9.8.Final` in the CDC dependency path.
- Some CDC modules still carry copied/customized Debezium-based classes, so this is not just a dependency bump.
So I still think the safest next step is:
1. keep this issue as the umbrella tracker
2. open one focused PR against `dev`
3. start with one lower-risk connector first, preferably MySQL or Postgres
4. list the affected copied/customized classes explicitly in that PR
That will make the compatibility surface much easier to review.
Once the first PR is up, feel free to link it here and we can continue from that concrete slice. Thanks again for keeping this moving.
--
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][Connector-V2] Upgrade Debezium to 2.7.4.Final [seatunnel]
Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo commented on issue #10708:
URL: https://github.com/apache/seatunnel/issues/10708#issuecomment-4204288809
@vsantonastaso I think you can have a try!
--
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][Connector-V2] Upgrade Debezium to 2.7.4.Final [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #10708:
URL: https://github.com/apache/seatunnel/issues/10708#issuecomment-4204671892
Thanks, and I agree with keeping this moving.
I re-checked the current repository state on `dev`: Debezium is still pinned at `1.9.8.Final`, and this is not only an external dependency bump for SeaTunnel. We still carry copied / customized `io.debezium` classes in several CDC modules, so the real work here is compatibility migration.
So from the current code base, the safest next step is:
1. keep this issue as the umbrella tracker
2. open a focused PR against `dev`
3. keep that PR scoped to Debezium `2.7.4.Final` only
4. clearly list the affected connectors / copied classes in the PR description
I still do not see a dev PR linked here yet, so the next concrete milestone is to get that first reviewable slice opened. A smaller connector-by-connector path will be much easier to validate than one large all-in change.
--
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][Connector-V2] Upgrade Debezium to 2.7.4.Final [seatunnel]
Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo commented on issue #10708:
URL: https://github.com/apache/seatunnel/issues/10708#issuecomment-4281655153
> Guys after starting the migration work, I've discovered that **upgrading a single CDC connector to Debezium 2.7.4 is not feasible**. Here's why:
>
> * **Shared Base Module**
>
> * All CDC connectors depend on the shared `connector-cdc-base` module
> * This base module directly imports Debezium classes and APIs
> * **Single Debezium Version**
>
> * The `debezium.version` property is defined in the parent POM (`connector-cdc/pom.xml`)
> * This version applies globally to ALL CDC connectors - there's no way to use different Debezium versions per connector
> * **Breaking API Changes**
>
> * Debezium 2.7.4 introduced breaking changes in `connector-cdc-base`:
>
> * `DatabaseHistory` → `SchemaHistory`
> * `TopicSelector` → `TopicNamingStrategy`
> * Snapshotter refactoring (service loader pattern)
> * These changes break compilation of the base module, blocking all CDC connectors
>
> So I think that the Debezium upgrade **must be done for ALL CDC connectors simultaneously**:
>
> * `connector-cdc-base` (shared base)
> * `connector-cdc-postgres`, `connector-cdc-mysql`, `connector-cdc-sqlserver`, `connector-cdc-oracle`, `connector-cdc-mongodb`,
> `connector-cdc-opengauss`, `connector-cdc-tidb`
>
> We should either migrate all CDC connectors together in a single effort or have a preliminary refactoring to isolate Debezium version-specific code in `connector-cdc-base`, making it compatible for per-connector updates.
Good job.
I think a better approach is to support multiple Debezium versions and refactor the CDC module to be compatible with multiple Debezium versions. Of course, this is a considerable amount of work
--
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][Connector-V2] Upgrade Debezium to 2.7.4.Final [seatunnel]
Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo commented on issue #10708:
URL: https://github.com/apache/seatunnel/issues/10708#issuecomment-4199247117
Thanks for raising this. I agree the upgrade is valuable, but this is larger than a normal dependency bump.
In SeaTunnel’s CDC modules we do not only depend on Debezium externally; we also carry a number of copied / customized `io.debezium` classes across MySQL, Postgres, SQL Server, Oracle and others. So the real work here is compatibility migration, not just changing a Maven version.
My suggestion would be:
1. first identify the affected connectors and copied classes
2. define a phased upgrade plan
3. validate connector-by-connector instead of attempting one huge all-in PR
That will make the work much safer and much easier to review.
--
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][Connector-V2] Upgrade Debezium to 2.7.4.Final [seatunnel]
Posted by "vsantonastaso (via GitHub)" <gi...@apache.org>.
vsantonastaso commented on issue #10708:
URL: https://github.com/apache/seatunnel/issues/10708#issuecomment-4237592321
Guys after starting the migration work, I've discovered that **upgrading a single CDC connector to Debezium 2.7.4 is not feasible**. Here's why:
### Technical Constraints
1. **Shared Base Module**
- All CDC connectors depend on the shared `connector-cdc-base` module
- This base module directly imports Debezium classes and APIs
2. **Single Debezium Version**
- The `debezium.version` property is defined in the parent POM (`connector-cdc/pom.xml`)
- This version applies globally to ALL CDC connectors - there's no way to use different Debezium versions per connector
3. **Breaking API Changes**
- Debezium 2.7.4 introduced breaking changes in `connector-cdc-base`:
- `DatabaseHistory` → `SchemaHistory`
- `TopicSelector` → `TopicNamingStrategy`
- Snapshotter refactoring (service loader pattern)
- These changes break compilation of the base module, blocking all CDC connectors
So I think that the Debezium upgrade **must be done for ALL CDC connectors simultaneously**:
- `connector-cdc-base` (shared base)
- `connector-cdc-postgres`, `connector-cdc-mysql`, `connector-cdc-sqlserver`, `connector-cdc-oracle`, `connector-cdc-mongodb`,
`connector-cdc-opengauss`, `connector-cdc-tidb`
We should either migrate all CDC connectors together in a single effort or have a preliminary refactoring to isolate Debezium version-specific code in `connector-cdc-base`, making it compatible for per-connector updates.
--
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