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

Support tombstone events for deletes when using fullDocumentOnly.

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.9.0
    • Affects Version/s: None
    • Component/s: Source
    • Labels:
      None
    • Needed
    • Hide

      When using fullDocument (not the change stream) to kafka, and in case of a delete operation a tombstone (a message with null value and non-null key) is sent to notify consumers of data deletion.

      Add new configuration: publish.full.document.only.tombstone.on.delete - defaults to false.

      Send a null value on a delete event. Requires publish.full.document.only=true.

      Show
      When using fullDocument (not the change stream) to kafka, and in case of a delete operation a tombstone (a message with null value and non-null key) is sent to notify consumers of data deletion. Add new configuration: publish.full.document.only.tombstone.on.delete - defaults to false. Send a null value on a delete event. Requires publish.full.document.only=true.

      Add publish.full.document.only.tombstone.on.delete

      PR: https://github.com/mongodb/mongo-kafka/pull/105

      Similar to the Debezium `tombstones.on.delete` feature. When using fullDocument (not the change stream) to kafka, and in case of a delete operation a tombstone (a message with null value and non-null key) is sent to notify consumers of data deletion.

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

              Created:
              Updated:
              Resolved: