Class SinkV1CommittableDeserializer

java.lang.Object
org.apache.flink.streaming.runtime.operators.sink.committables.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 Details

    • 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:
  • Constructor Details

    • SinkV1CommittableDeserializer

      public SinkV1CommittableDeserializer()
  • Method Details

    • 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