Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-1563

Incorrect source struct's collection field when dot is present in collection name

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 0.10.0.Final
    • Fix Version/s: 1.0.0.Beta2
    • Component/s: mongodb-connector
    • Labels:
      None
    • Environment:

      Confluent Kafka Connect 5.3.0 - 1 nodes
      Confluent Kafka 5.3.0 - 3 nodes
      MongoDB 4.0.0
      Debezium 0.10.0.Final

      Description

      When collection has dot in name, source struct's collection field only contains first part of collection name.
      For example: collection name is test.collection, collection field will contain only test part:

      Struct

      {version=0.10.0.Final,connector=mongodb,name=connector,ts_ms=1571228697000,db=testDb,rs=myReplica,collection=test,ord=1,h=3870166902378819437}

      In 0.9.+ versions, collection field wasn't present in source struct.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jpechanec Jiri Pechanec
                Reporter:
                tipuric.ivana Ivana Tipuric
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: