Class SinkV1CommittableDeserializer


  • @Internal
    public class SinkV1CommittableDeserializer
    extends Object
    This class offers the possibility to deserialize committables that have been written with older Flink releases (i.e. 1.13, 1.14).
    • Field Detail

      • MAGIC_NUMBER

        @VisibleForTesting
        public static final int MAGIC_NUMBER
        It is important to keep this number consistent with the number used by the StreamingCommitterStateSerializer in Flink 1.13 and 1.14.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SinkV1CommittableDeserializer

        public SinkV1CommittableDeserializer()
    • Method Detail

      • readVersionAndDeserializeList

        public static <T> List<T> readVersionAndDeserializeList​(org.apache.flink.core.io.SimpleVersionedSerializer<T> serializer,
                                                                org.apache.flink.core.memory.DataInputView in)
                                                         throws IOException
        Throws:
        IOException