-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[Feature][Connector-V2] Datahub support multi-table sink #9212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… into support_multitable_sink_datahub
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for multi-table sinks for the Datahub connector by updating the implementation classes and tests.
- Added a new end-to-end test method (testDatahubMulti) to validate multi-table sink functionality.
- Updated DataHubWriter and DataHubSink to implement the multi-table sink interfaces.
- Modified DataHubSinkFactory to include the optional multi-table sink replica option.
Reviewed Changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| seatunnel-e2e/seatunnel-connector-v2-e2e/connector-datahub-e2e/src/test/java/org/apache/seatunnel/e2e/connector/datahub/DatahubIT.java | Added multi-table sink E2E test method. |
| seatunnel-connectors-v2/connector-datahub/src/main/java/org/apache/seatunnel/connectors/seatunnel/datahub/sink/DataHubWriter.java | Updated to implement SupportMultiTableSinkWriter. |
| seatunnel-connectors-v2/connector-datahub/src/main/java/org/apache/seatunnel/connectors/seatunnel/datahub/sink/DataHubSinkFactory.java | Introduced optional multi-table sink replica configuration. |
| seatunnel-connectors-v2/connector-datahub/src/main/java/org/apache/seatunnel/connectors/seatunnel/datahub/sink/DataHubSink.java | Modified to implement SupportMultiTableSink and return a DataHubWriter. |
Files not reviewed (1)
- seatunnel-e2e/seatunnel-connector-v2-e2e/connector-datahub-e2e/src/test/resources/fakesource_to_multi_datahub.conf: Language not supported
|
Please upload a screenshot of the Datahub page |
|
|



subtask of #5652
Purpose of this pull request
Does this PR introduce any user-facing change?
How was this patch tested?
new e2e test using my Alibaba Cloud account locally.
Check list
New License Guide
release-note.