Details
-
New Feature
-
Status: Open
-
Not a Priority
-
Resolution: Unresolved
-
None
-
None
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
- is duplicated by
-
FLINK-20056 Add a collector to KinesisDeserializationSchema
- Closed
- is related to
-
FLINK-17307 Add collector to DeserializationSchema
- Closed
- links to