[KAFKA-255] Add UpdateOneDefaultStrategy Created: 21/Oct/21 Updated: 28/Oct/23 Resolved: 11/Aug/23 |
|
| Status: | Closed |
| Project: | Kafka Connector |
| Component/s: | Sink |
| Affects Version/s: | None |
| Fix Version/s: | 1.11.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Robert Walters | Assignee: | Ross Lawley |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Quarter: | FY23Q4 | ||||
| Documentation Changes: | Needed | ||||
| Description |
|
Currently the default write model strategy is replace, there has been requests for performing an update. We should add a UpdateOneDefaultStrategy such that the destination document in this scenario will be |
| Comments |
| Comment by Githook User [ 11/Aug/23 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross@mongodb.com', 'username': 'rozza'}Message: Added UpdateOneDefaultStrategy (#144) A WriteStrategy that performs a `$set` upsert operation.
|
| Comment by Ross Lawley [ 09/Aug/23 ] |
|
Add UpdateOneDefaultStrategy to the strategies list Description: writemodel.strategy=com.mongodb.kafka.connect.sink.writemodel.strategy.UpdateOneDefaultStrategy |