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


##########
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:
   > @tibrewalpratik17 Is this change urgent? If it is not urgent, I'd like to 
first clean up this interface, then you may use the new APIs
   
   Sure can wait until your changes



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