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

ExtractNewRecordState should support inline ValueToKey functionality

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Major
    • None
    • 1.5.0.Final
    • connect-service
    • None
    • False
    • False
    • 0
    • 0% 0%
    • Undefined

    Description

      The current ExtractNewRecordState isn't easy to use in conjunction with [ValueToKey|https://docs.confluent.io/platform/current/connect/transforms/valuetokey.html.]  The problem is that unless you configure ExtractNewRecordState to drop tombstones and to rewrite delete records, the ValueToKey transformation will throw an exception because it can't function on a record with a null value.

      However, if you do so configure ExtractNewRecordState, then you need a third transformation after ValueToKey which will convert the records with "__delete:true" back to tombstones.

      It would be much more convenient if ExtractNewRecordState could support changing the record key inline, since it has all the required information at hand.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            jherico Brad Davis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: