-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[Feature][Connector-V2] Make some sink parameters optional for DataHub #9229
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
…ataHub implementation
|
Thanks @jia17 |
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 makes sink parameters optional for the DataHub connector by moving the TIMEOUT and RETRY_TIMES options from required to optional and assigning them default values.
- Updated DataHubSinkFactory option rules to mark TIMEOUT and RETRY_TIMES as optional
- Set default values for TIMEOUT (3000) and RETRY_TIMES (3) in DataHubSinkOptions
- Adjusted both English and Chinese documentation to reflect the new optional nature and default values
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| seatunnel-connectors-v2/connector-datahub/sink/DataHubSinkFactory.java | Adjusted option rule for DataHub connector to mark TIMEOUT and RETRY_TIMES as optional |
| seatunnel-connectors-v2/connector-datahub/config/DataHubSinkOptions.java | Updated default values for TIMEOUT and RETRY_TIMES |
| docs/zh/connector-v2/sink/Datahub.md | Updated documentation to reflect optional TIMEOUT and RETRY_TIMES with default values |
| docs/en/connector-v2/sink/Datahub.md | Updated documentation to reflect optional TIMEOUT and RETRY_TIMES with default values |
|
Please try ci again |
8825fa3 to
f57f577
Compare
66f4ed6 to
f57f577
Compare
…ataHub implementation
…Align_params_DataHub_impl
fix: #9226
Purpose of this pull request
Does this PR introduce any user-facing change?
How was this patch tested?
Check list
New License Guide
release-note.