-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[Feature][Connector-V2] MongodbSink Support SaveMode #9883
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
base: dev
Are you sure you want to change the base?
Conversation
I'll hang this pull request here first, and I'll optimize and supplement it later, as well as add unit tests and E2E |
look forward to |
DataSaveMode.class, | ||
Arrays.asList(DROP_DATA, APPEND_DATA, ERROR_WHEN_DATA_EXISTS)) | ||
.defaultValue(APPEND_DATA) | ||
.withDescription("data_save_mode"); |
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.
Add a description of him instead of copying the name
docs/en/connector-v2/sink/MongoDB.md
Outdated
| common-options | | No | - | Source plugin common parameters, please refer to [Source Common Options](../sink-common-options.md) for details | | ||
| data_save_mode | String | No | APPEND_DATA | The data saving mode of mongodb | | ||
|
||
### data_save_mode [Enum] |
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.
Describing him in the "Description" section of the table would be more in line with the previous format
Purpose of this pull request
Does this PR introduce any user-facing change?
How was this patch tested?
Check list
New License Guide