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

Add a DeleteOneBusinessKeyStrategy

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.5.0
    • 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.

    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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: