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

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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • 1.3.0.Beta2
    • 1.2.2.Final
    • core-library
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: