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

The prefix for the fields and headers can be a list instead of a string

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Done
    • 1.2.2.Final
    • None
    • core-library
    • None

    Description

      It is now possible to give the configurable string prefix for the fields and headers.

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

      This makes all the fields and headers to have the same prefix.

      We can change this to a list of strings.
      Then each individual field and header can have different prefixes. 
      This might also be useful when anyone want to only prefix for few fields/headers and not all. 

      •  "add.fields.prefix" -> list of strings.
        • When given the # of prefixes MUST be equal to # of fields given in "add.fields". We can configure empty prefix as well.
      •  "add.headers.prefix" -> list of strings.
        • When given the # of prefixes MUST be equal to # of headers given in "add.headers". We can configure empty prefix as well.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rgannu Ganesh Ramasubramanian
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: