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

Add a DeleteOneBusinessKeyStrategy

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: Sink
    • Labels:
    • Documentation Changes:
      Needed
    • Documentation Changes Summary:
      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

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

                Dates

                Created:
                Updated:
                Resolved: