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

publish.changed.documents.only=true still returns full change stream document

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • 0.2
    • None
    • None

    Description

      As per the documentation, publish.changed.documents.only=true property allows users to only publish the actual documents after inserts, replaces or updates.

      But after setting this property to true also I am seeing the below fields in the output.

      "_id":

      { "_data": "825D5A10BE000000012B022C0100296E5A1004F921F092F2D34BBDAF3B274E9CA70CDF46645F696400645D5A10BEE3CFEA2BABAC124E0004" }

      ,
      "operationType": "insert",
      "clusterTime": {
      "$timestamp":

      { "t": 1566183614, "i": 1 }

      }

       

      Am I missing something here? My requirement is I want only the actual document to be sent to the Kafka topic.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: