syhily commented on a change in pull request #18406:
URL: https://github.com/apache/flink/pull/18406#discussion_r827823273



##########
File path: 
flink-connectors/flink-connector-pulsar/src/main/java/org/apache/flink/connector/pulsar/source/reader/deserializer/PulsarDeserializationSchemaWrapper.java
##########
@@ -52,13 +53,18 @@ public void open(InitializationContext context, 
SourceConfiguration configuratio
     }
 
     @Override
-    public void deserialize(Message<byte[]> message, Collector<T> out) throws 
Exception {
+    public void deserialize(Message<?> message, Collector<T> out) throws 
Exception {
         byte[] bytes = message.getData();
         T instance = deserializationSchema.deserialize(bytes);
 
         out.collect(instance);
     }
 
+    @Override

Review comment:
       Put this in `PulsarDeserializationSchema` class as a default method




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to