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

Add a Collector to KinsesisDeserializationSchema

    XMLWordPrintableJSON

Details

    Description

      We did not add support for a collector in the KinesisDeserializationSchema.

      The problem with that connector lays in the threading model, where there is a pool of threads that read and deserialize records and then they handover the deserialized messages through a queue to the main thread. The problem is that we would need to create many temporary collections to put the deserialized records into the handover queue, which potentially would significantly affect performance, especially in the usual case of deserializing a single record from a single message.

      This means that we can currently not support the Debezium format for in the SQL connector if the Debezium record needs to emit 2 rows (UPDATE_BEFORE and UPDATE_AFTER).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              twalthr Timo Walther
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: