You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "OctoberWithYou (via GitHub)" <gi...@apache.org> on 2026/04/23 13:39:54 UTC
[I] [Feature][Connector] add a new Connnector: YashanDB [seatunnel]
OctoberWithYou opened a new issue, #10810:
URL: https://github.com/apache/seatunnel/issues/10810
### 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
I am a developer of YashanDB, familiar with CDC tools and their principles such as those in Oracle and MySQL. I plan to contribute a YashanDB connector to the SeaTunnel project in my free time.
### Usage Scenario
Here's the English translation of your statement:
"YashanDB is a new type of relational database developed in China. It features a mature CDC interface called YStream, whose capabilities are comparable to Oracle's XStream for real-time analysis of Redo or archived logs and translating them into logical logs. Its official website is: https://yashandb.com/"
Here is the English translation of your design plan:
"I am very familiar with the working principles of streaming tools. Below is a brief design plan for the upcoming implementation:
Full data extraction is implemented via JDBC. YashanDB also supports flashback queries to create consistent snapshots. Meanwhile, it supports concurrent splitting of a single table by rowid (physical block number and page number of data files) to improve synchronization performance.
For incremental synchronization, YashanDB’s built-in CDC tool YStream provides a logical log parsing interface comparable to Oracle XStream. Our integration leverages YStream’s native capabilities to parse database logical logs.
Similar to Oracle’s LGM implementation, the solution only needs to obtain the SCN of the oldest active transaction before full data scanning (exposed through dedicated system views in YashanDB) to start incremental log parsing. By filtering incremental changes based on the SCN corresponding to the full snapshot, it achieves seamless docking between full and incremental synchronization, ensuring complete and accurate data without duplication or loss.
In case of failures or exceptions during incremental synchronization, YStream provides exactly-once resumable transmission semantics. Service recovery only requires passing the latest checkpoint record back to YStream upon restart to resume synchronization from the break point."
### 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] add a new Connnector: YashanDB [seatunnel]
Posted by "nielifeng (via GitHub)" <gi...@apache.org>.
nielifeng closed issue #10810: [Feature][Connector] add a new Connnector: YashanDB
URL: https://github.com/apache/seatunnel/issues/10810
--
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] add a new Connnector: YashanDB [seatunnel]
Posted by "OctoberWithYou (via GitHub)" <gi...@apache.org>.
OctoberWithYou commented on issue #10810:
URL: https://github.com/apache/seatunnel/issues/10810#issuecomment-4309800863
> Thanks for volunteering to contribute this connector. This reads as a feature request rather than a bug, and the overall direction sounds reasonable.
>
> The main thing we should avoid is making phase 1 too large: the current proposal mixes JDBC snapshot reading, rowid-based parallel splitting, YStream incremental CDC, resume/checkpoint semantics, and exactly-once expectations in one scope.
>
> To make this reviewable, could you please clarify:
>
> 1. whether phase 1 is source only, sink only, or both
> 2. whether phase 1 targets batch, streaming CDC, or a snapshot+incremental hybrid path
> 3. what restore/checkpoint behavior must be guaranteed in phase 1
> 4. whether schema evolution / DDL handling is in scope now or later
>
> My suggestion would be to start with one narrow phase 1, for example a source connector first with one clear snapshot+incremental path, and then extend sink / broader CDC capabilities in follow-up work. If this can fit within the existing connector abstractions, a normal connector PR is fine; if it requires new common CDC abstractions, we should split that design discussion first.
Thank you very much. Yes, I plan to first implement a typical source-end part, and then gradually expand the capabilities. Do you have any additional requirements or standards from the community for this, such as necessary design documents, code reviews, product documentation modifications, and repository management? Or can I simply submit a PR directly to the main branch's development branch?
--
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] add a new Connnector: YashanDB [seatunnel]
Posted by "nzw921rx (via GitHub)" <gi...@apache.org>.
nzw921rx commented on issue #10810:
URL: https://github.com/apache/seatunnel/issues/10810#issuecomment-4314403232
> > Thanks for the follow-up. For a focused phase-1 YashanDB source connector, a normal connector PR is the right next step, and a separate STIP is not required as long as it stays within the existing connector abstractions.
> > Please target the branch rather than /. Before you open the PR, it would help to keep the scope explicit in the issue or PR description:`` dev``main``master ``
> >
> > 1. phase 1 is source only;
> > 2. whether phase 1 is batch snapshot only, streaming CDC only, or a snapshot+incremental path;
> > 3. what checkpoint / recovery behavior phase 1 guarantees;
> > 4. whether schema evolution / DDL handling is out of scope for now.
> >
> > In the PR itself, please include:
> >
> > * the dependency and packaging plan for YStream or any YashanDB client libraries, especially if there are license or distribution constraints;
> > * user docs and at least one example config;
> > * tests for the implemented path, and an end-to-end validation path if the first phase includes CDC behavior.
> >
> > If you later find that phase 1 needs a new common CDC abstraction, engine/API changes, or a contract that other connectors must adopt, please pause and open a separate design discussion first. Otherwise, a normal PR against is the correct path and we can continue the review there.`dev`
>
> Thank you for the information. I plan to start writing code soon. My questions are:
>
> PR size & completeness: The community prefers small, focused pull requests that address one piece at a time. However, does each small PR still need to be fully functional and directly usable by users (e.g., a Phase 1 source connector must be runnable, configurable, documented, and tested), rather than being split in a way that leaves the feature broken or incomplete?
>
> Besides GitHub Issues, does the community have a dedicated forum (e.g., a discussion board or mailing list) for discussing requirements and designs?
@OctoberWithYou Great question.
Large pull requests will increase the burden and difficulty of code review.
It is recommended to first implement the basic interfaces and general specifications, and then advance the specific implementation in separate batches. For example, split Source and Sink into independent PRs to reduce the scope of each review and make it easier for the community to review.
Full features can be delivered iteratively in phases. If the overall requirement is quite large, you may first plan an MVP (Minimum Viable Product) version for steady delivery.
Meanwhile, user-facing core features should remain fully functional, to avoid incomplete or unusable intermediate states caused by excessive splitting.
--
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] add a new Connnector: YashanDB [seatunnel]
Posted by "OctoberWithYou (via GitHub)" <gi...@apache.org>.
OctoberWithYou commented on issue #10810:
URL: https://github.com/apache/seatunnel/issues/10810#issuecomment-5140893783
The incremental part has not yet submitted the PR request.
--
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] add a new Connnector: YashanDB [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #10810:
URL: https://github.com/apache/seatunnel/issues/10810#issuecomment-4323758837
Thanks, this is a good clarifying question.
Looking at the current `dev` branch, Debezium is not a hard requirement for every source connector, but it is the path used by SeaTunnel's existing CDC incremental framework.
Today, the reusable CDC base is centered on `connector-cdc-base`'s `IncrementalSource`, and that base already expects a `DebeziumDeserializationSchema`. The existing MySQL / PostgreSQL / Oracle / SQLServer CDC sources all follow that model. So if you want to plug directly into the current reusable CDC incremental stack, then yes, you would be aligning with Debezium-oriented abstractions.
That said, SeaTunnel also has normal source connectors such as JDBC that implement `SeaTunnelSource` directly and do not depend on Debezium. So for a connector-local YashanDB phase 1, a direct implementation based on YStream is acceptable in principle. The important part is that the PR is still a runnable, testable working increment, and that it states clearly:
1. whether phase 1 covers snapshot only, incremental only, or snapshot + incremental
2. what checkpoint / recovery semantics are guaranteed
3. whether schema evolution / DDL handling is out of scope for now
If the design later needs a new common CDC abstraction beyond this connector-local implementation, that should be split into a separate design discussion rather than introduced implicitly inside the first connector PR.
One more practical point: if YStream requires extra client libraries or has license / distribution constraints, please call that out early in the PR description, because that affects packaging and 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] add a new Connnector: YashanDB [seatunnel]
Posted by "OctoberWithYou (via GitHub)" <gi...@apache.org>.
OctoberWithYou commented on issue #10810:
URL: https://github.com/apache/seatunnel/issues/10810#issuecomment-4621103010
Good news. The official YashanDB developers will be committed to continuing to push for the connector to be merged. My colleague @Tlinian and I will further drive the integration of the connector. The original plan may be brought forward.
--
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] add a new Connnector: YashanDB [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #10810:
URL: https://github.com/apache/seatunnel/issues/10810#issuecomment-4317222411
Thanks for the follow-up. Yes, each PR should still be a reviewable working increment.
Small and focused is good, but we should avoid splitting the work into partially wired steps that are not runnable or testable. For this connector, phase 1 should still be something users can actually run, configure, document, and verify end to end, even if it only covers a narrower source-side scope.
For discussion channels, a focused connector contribution can continue in this GitHub issue/PR flow. When the topic becomes broader than this connector, for example new common CDC abstractions, engine/API changes, or cross-connector contracts, please also use the dev mailing list for wider community discussion:
https://lists.apache.org/list.html?dev@seatunnel.apache.org
So the practical path is:
1. keep this issue as the scope tracker;
2. open a focused PR against `dev` once phase 1 is runnable end to end;
3. bring it to the dev mailing list if the work stops being connector-local and becomes a project-wide design topic.
--
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] add a new Connnector: YashanDB [seatunnel]
Posted by "nzw921rx (via GitHub)" <gi...@apache.org>.
nzw921rx commented on issue #10810:
URL: https://github.com/apache/seatunnel/issues/10810#issuecomment-4314416004
Looking forward to its implementation🐳
--
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] add a new Connnector: YashanDB [seatunnel]
Posted by "OctoberWithYou (via GitHub)" <gi...@apache.org>.
OctoberWithYou commented on issue #10810:
URL: https://github.com/apache/seatunnel/issues/10810#issuecomment-4322106698
> Thanks for the follow-up. Yes, each PR should still be a reviewable working increment.
>
> Small and focused is good, but we should avoid splitting the work into partially wired steps that are not runnable or testable. For this connector, phase 1 should still be something users can actually run, configure, document, and verify end to end, even if it only covers a narrower source-side scope.
>
> For discussion channels, a focused connector contribution can continue in this GitHub issue/PR flow. When the topic becomes broader than this connector, for example new common CDC abstractions, engine/API changes, or cross-connector contracts, please also use the dev mailing list for wider community discussion: https://lists.apache.org/list.html?dev@seatunnel.apache.org
>
> So the practical path is:
>
> 1. keep this issue as the scope tracker;
> 2. open a focused PR against `dev` once phase 1 is runnable end to end;
> 3. bring it to the dev mailing list if the work stops being connector-local and becomes a project-wide design topic.
Is it necessary to rely on DEBEZIUM incrementally? 1. At present, it is not possible to rely on DEBEZIUM version, otherwise it may affect other connectors. 2. Since YashanDB already has an interface similar to Oracle XStream, I plan to implement the source function of incremental functions directly based on it.
--
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] add a new Connnector: YashanDB [seatunnel]
Posted by "OctoberWithYou (via GitHub)" <gi...@apache.org>.
OctoberWithYou commented on issue #10810:
URL: https://github.com/apache/seatunnel/issues/10810#issuecomment-4310650405
> Thanks for the follow-up. For a focused phase-1 YashanDB source connector, a normal connector PR is the right next step, and a separate STIP is not required as long as it stays within the existing connector abstractions.
>
> Please target the branch rather than /. Before you open the PR, it would help to keep the scope explicit in the issue or PR description:`dev``main``master`
>
> 1. phase 1 is source only;
> 2. whether phase 1 is batch snapshot only, streaming CDC only, or a snapshot+incremental path;
> 3. what checkpoint / recovery behavior phase 1 guarantees;
> 4. whether schema evolution / DDL handling is out of scope for now.
>
> In the PR itself, please include:
>
> * the dependency and packaging plan for YStream or any YashanDB client libraries, especially if there are license or distribution constraints;
> * user docs and at least one example config;
> * tests for the implemented path, and an end-to-end validation path if the first phase includes CDC behavior.
>
> If you later find that phase 1 needs a new common CDC abstraction, engine/API changes, or a contract that other connectors must adopt, please pause and open a separate design discussion first. Otherwise, a normal PR against is the correct path and we can continue the review there.`dev`
Thank you very much. I will start writing code in the near future. Do you want to fork directly for development on the master branch? The community wants submissions to be small and fast, with each submission containing only small features for review, or does it complete a complete requirement content in one large amount? In addition, do we have a developer discussion community other than issues for continuous iterative discussion of a large original requirement?
--
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] add a new Connnector: YashanDB [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #10810:
URL: https://github.com/apache/seatunnel/issues/10810#issuecomment-4309576418
Thanks for volunteering to contribute this connector. This reads as a feature request rather than a bug, and the overall direction sounds reasonable.
The main thing we should avoid is making phase 1 too large: the current proposal mixes JDBC snapshot reading, rowid-based parallel splitting, YStream incremental CDC, resume/checkpoint semantics, and exactly-once expectations in one scope.
To make this reviewable, could you please clarify:
1. whether phase 1 is source only, sink only, or both
2. whether phase 1 targets batch, streaming CDC, or a snapshot+incremental hybrid path
3. what restore/checkpoint behavior must be guaranteed in phase 1
4. whether schema evolution / DDL handling is in scope now or later
My suggestion would be to start with one narrow phase 1, for example a source connector first with one clear snapshot+incremental path, and then extend sink / broader CDC capabilities in follow-up work. If this can fit within the existing connector abstractions, a normal connector PR is fine; if it requires new common CDC abstractions, we should split that design discussion 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] add a new Connnector: YashanDB [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #10810:
URL: https://github.com/apache/seatunnel/issues/10810#issuecomment-4627269937
Thanks for the update. It is good to hear that the official YashanDB team is still planning to push this connector forward.
The direction still makes sense as a normal connector contribution rather than a STIP, as long as phase 1 stays inside the existing connector abstractions and remains reviewable as one runnable increment.
Please keep the first PR very explicit about scope:
1. whether phase 1 is source-only
2. whether it is batch snapshot only, or snapshot + incremental together
3. whether rowid-based parallel splitting is included in phase 1 or deferred
4. what the checkpoint / resume contract is for the first mergeable version
5. what docs and tests will be included in the first PR
Once that is stable, opening a draft PR against `dev` is the best next step. That will make the implementation discussion much easier to review concretely.
--
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] add a new Connnector: YashanDB [seatunnel]
Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo commented on issue #10810:
URL: https://github.com/apache/seatunnel/issues/10810#issuecomment-4323839066
Good job. I'm looking forward to your PR.
--
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] add a new Connnector: YashanDB [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #10810:
URL: https://github.com/apache/seatunnel/issues/10810#issuecomment-4310514883
Thanks for the follow-up. For a focused phase-1 YashanDB source connector, a normal connector PR is the right next step, and a separate STIP is not required as long as it stays within the existing connector abstractions.
Please target the `dev` branch rather than `main`/`master`. Before you open the PR, it would help to keep the scope explicit in the issue or PR description:
1. phase 1 is source only;
2. whether phase 1 is batch snapshot only, streaming CDC only, or a snapshot+incremental path;
3. what checkpoint / recovery behavior phase 1 guarantees;
4. whether schema evolution / DDL handling is out of scope for now.
In the PR itself, please include:
- the dependency and packaging plan for YStream or any YashanDB client libraries, especially if there are license or distribution constraints;
- user docs and at least one example config;
- tests for the implemented path, and an end-to-end validation path if the first phase includes CDC behavior.
If you later find that phase 1 needs a new common CDC abstraction, engine/API changes, or a contract that other connectors must adopt, please pause and open a separate design discussion first. Otherwise, a normal PR against `dev` is the correct path and we can continue the review there.
--
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