johnjcasey commented on code in PR #29244:
URL: https://github.com/apache/beam/pull/29244#discussion_r1378877578


##########
sdks/java/io/kafka/src/main/java/org/apache/beam/sdk/io/kafka/KafkaIO.java:
##########
@@ -1759,10 +1759,10 @@ public void populateDisplayData(DisplayData.Builder 
builder) {
   static class KafkaHeader {
 
     String key;
-    byte[] value;
+    byte @Nullable [] value;

Review Comment:
   its a little strange, but @nullable byte[] means that the bytes in the array 
could be null, while byte @nullable [] means the array could be null.
   
   A byte can't be null, so the first is invalid.



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