Github user FredTing commented on a diff in the pull request:
https://github.com/apache/flink/pull/5958#discussion_r186479633
--- Diff:
flink-core/src/main/java/org/apache/flink/api/common/serialization/DeserializationSchema.java
---
@@ -42,14 +42,22 @@
@Public
public interface DeserializationSchema<T> extends Serializable,
ResultTypeQueryable<T> {
+ /**
+ * @deprecated Use {@link #deserialize(ConsumerRecordMetaInfo)} .
--- End diff --
I added some more text to the javadoc explaining that implementing the
other `deserialize` method has more benefits.
---