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

Add ability to configure prefix for the add.fields and add.headers

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 1.2.2.Final
    • Fix Version/s: 1.3.0.Beta2
    • Component/s: core-library
    • Labels:
      None

      Description

      Currently Debezium always add "__" as the prefix for the fields and headers. 

      When we use camel kafka connector (especially for the headers) we must prefix the header with "CamelHeader.". Else these are not getting added to the message.

      We need to add support in the io.debezium.transforms.ExtractNewRecordState

      • "add.fields.prefix" -> String with the default value of "__"
      • "add.headers.prefix" -> String with the default value of  "__". 

      When it is there like this for camel kafka connector, we can set the configuration "add.headers.prefix" to "CamelHeader."

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rgannu Ganesh Ramasubramanian (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: