tibrewalpratik17 commented on code in PR #12602:
URL: https://github.com/apache/pinot/pull/12602#discussion_r1568431329


##########
pinot-spi/src/main/java/org/apache/pinot/spi/stream/MessageBatch.java:
##########
@@ -104,6 +104,15 @@ default StreamPartitionMsgOffset 
getNextStreamPartitionMsgOffsetAtIndex(int inde
     return new LongMsgOffset(getNextStreamMessageOffsetAtIndex(index));
   }
 
+  /**
+   * Returns the offset of this message.
+   * @param index
+   * @return
+   */
+  default StreamPartitionMsgOffset getStreamPartitionMsgOffsetAtIndex(int 
index) {
+    return new LongMsgOffset(getMessageOffsetAtIndex(index));

Review Comment:
   @Jackie-Jiang updated based on your recent refactoring. Please review! 



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