deemoliu commented on code in PR #14496:
URL: https://github.com/apache/pinot/pull/14496#discussion_r1849100434


##########
pinot-plugins/pinot-stream-ingestion/pinot-pulsar/src/main/java/org/apache/pinot/plugin/stream/pulsar/PulsarUtils.java:
##########
@@ -84,7 +84,7 @@ static StreamMessageMetadata 
extractMessageMetadata(Message<byte[]> message, Pul
     MessageIdStreamOffset nextOffset = new 
MessageIdStreamOffset(getNextMessageId(messageId));
     StreamMessageMetadata.Builder builder =
         new 
StreamMessageMetadata.Builder().setRecordIngestionTimeMs(recordIngestionTimeMs)
-            .setOffset(offset, nextOffset);
+            .setOffset(offset, 
nextOffset).setSerializedValueSize(message.size());

Review Comment:
   null check for message



-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to