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

ExtractNewRecordState should support inline ValueToKey functionality

XMLWordPrintable

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

      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.

       

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

                Created:
                Updated:
                Resolved: