Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-25686

Support Pulsar Schema evolution in Pulsar Source Connector

    XMLWordPrintableJSON

Details

    Description

      Currently the source connector reads all messages as Message<byte[]>, and implements a deserialization abstraction to deserialize the byte array message. This deserialization abstraction supports both flink schema and pulsar schema. However because of this extra layer of abstraction, even when using pulsar schema, the schema info is not provided to the consumer (client), so it is not using any pulsar’s schema validation mechanism. (If pulsar client has a schema, it will send the schema to broker on connect and broker will validate if it is a valid schema according to a preset compatibility rule :[ https://pulsar.apache.org/docs/en/schema-evolution-compatibility/|https://pulsar.apache.org/docs/en/schema-evolution-compatibility/]).  we need to support this schema evolution

      Attachments

        Issue Links

          Activity

            People

              syhily Yufan Sheng
              affe Yufei Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: