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

Allow outbox EventRouter to pass non-String based Keys

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.1.2.Final, 1.2.0.Beta2
    • Fix Version/s: 1.2.0.CR1
    • Component/s: outbox
    • Labels:
      None

      Description

      Based on documentation: https://debezium.io/documentation/reference/configuration/outbox-event-router.html#_using_avro_as_the_payload_format

      the outbox EventRouter transform can be used to pass along a payload of bytes (as suggested in the documentation, an avro message that has already been serialized).

      However, the EventRouter is hardcoded to expect a String type for the event key. This prevents the use case of Avro encoded message and key, where both the message and key are serialized before writing to the outbox.

      The hardcoded type is here: https://github.com/debezium/debezium/blob/de424d4980ddd8b2a2e75def90189b4e27f7c605/debezium-core/src/main/java/io/debezium/transforms/outbox/EventRouter.java#L169

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ccranfor Chris Cranford
                Reporter:
                dcumberland-pluralsight Dave Cumberland
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: