fsk119 commented on a change in pull request #14539:
URL: https://github.com/apache/flink/pull/14539#discussion_r553144882



##########
File path: 
flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/AvroDeserializationSchema.java
##########
@@ -128,6 +128,9 @@ Decoder getDecoder() {
 
     @Override
     public T deserialize(byte[] message) throws IOException {

Review comment:
       Please add  the annotation `@NULLABLE` before parameter message.
   
   You can also take a look at the constructor of the `KafkaDynamicSource`, 
which allows its input is null.




----------------------------------------------------------------
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.

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


Reply via email to