Uploaded image for project: 'Kafka Connector'
  1. Kafka Connector
  2. KAFKA-168

Add a DeleteOneBusinessKeyStrategy

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: None
    • Component/s: Sink
    • Needed
    • Hide

      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.

      Show
      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.

      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.

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: