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

Add possibility to use pre-registered Avro schema with the outbox router


    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.2-backlog
    • None
    • None
    • None
    • False
    • None
    • False
    • If Release Note Needed, Set a Value
    • Set a Value


      Following this discussion https://groups.google.com/g/debezium/c/bD-TZ3RsMdY.

      The business need is to reflect the process of a developer thinking about an Avro schema for his events to be inserted in an outbox table, registering this schema in the schema registry through CI/CD, and using it to publish with the outbox router ; without the need of having Debezium inferring the schema of the JSONB column content of the outbox table.

      As suggested by jpechane, I looked for 3rd party SMTs for doing it but :

      • I didn't find any
      • I would prefer to limit the number of plugins to be deployed on the connect instances

      As per the potential implementation, I think having a dedicated column in the outbox table that can be configured in the connectors should be OK. Nevertheless, there are I think several possibilities :

      • Either this column represents a schema ID in the schema registry
      • Either it represents a schema name + version

      I think the first one would be difficult to use because depending on the developer environment, the same functional schema will have different IDs, which should be hard to manage in their application.

      Thanks a lot

            Unassigned Unassigned
            hugo.epicier Hugo Epicier (Inactive)
            0 Vote for this issue
            1 Start watching this issue