[KAFKA-168] Add a DeleteOneBusinessKeyStrategy Created: 16/Oct/20 Updated: 28/Oct/23 Resolved: 01/Mar/21 |
|
| Status: | Closed |
| Project: | Kafka Connector |
| Component/s: | Sink |
| Affects Version/s: | None |
| Fix Version/s: | 1.5.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Ross Lawley | Assignee: | Ross Lawley |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | FY21Q4, FY22Q1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Documentation Changes: | Needed | ||||||||||||
| Documentation Changes Summary: | Added new WriteStrategy: `com.mongodb.kafka.connect.sink.writemodel.strategy.DeleteOneBusinessKeyStrategy` - For when a topic contains records identifying data that should be removed from MongoDB. |
||||||||||||
| Description |
|
The _id generation could easily come from the sinks value document. The idStrategy isn't configurable as expected. It also should support partial projections and not nest them in a _id field. |
| Comments |
| Comment by Githook User [ 19/Feb/21 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}Message: Create DeleteOneBusinessKeyStrategy.java (#56) Create a custom delete write strategy. Co-authored-by: sotojuan2 <soto.juan@gmail.com> |