Flink1.4.0中反序列化及序列化类变化

时间:2021-02-27 15:46:37

Flink1.4.0中,反序列化及序列化时继承的类,有一些被标记为了“@deprecated”,路径上也有变化:

1.AbstractDeserializationSchema

以前路径

org.apache.flink.streaming.util.serialization.AbstractDeserializationSchema

现在路径:

org.apache.flink.api.common.serialization.AbstractDeserializationSchema

2.SerializationSchema

以前路径:

org.apache.flink.streaming.util.serialization.SerializationSchema

现在路径:

org.apache.flink.api.common.serialization.SerializationSchema