noob-se7en commented on code in PR #17089:
URL: https://github.com/apache/pinot/pull/17089#discussion_r2486409619


##########
pinot-server/src/main/java/org/apache/pinot/server/api/resources/DebugResource.java:
##########
@@ -209,17 +216,34 @@ private long getSegmentSize(SegmentDataManager 
segmentDataManager) {
         .getSegment()).getSegmentSizeBytes() : 0;
   }
 
-  private SegmentConsumerInfo getSegmentConsumerInfo(SegmentDataManager 
segmentDataManager, TableType tableType) {
+  private SegmentConsumerInfo getSegmentConsumerInfo(TableDataManager 
tableDataManager,
+      SegmentDataManager segmentDataManager, TableType tableType) {
     SegmentConsumerInfo segmentConsumerInfo = null;
     if (tableType == TableType.REALTIME) {
       RealtimeSegmentDataManager realtimeSegmentDataManager = 
(RealtimeSegmentDataManager) segmentDataManager;
-      Map<String, ConsumerPartitionState> partitionStateMap = 
realtimeSegmentDataManager.getConsumerPartitionState();
+      StreamMetadataProvider streamMetadataProvider =

Review Comment:
   I am using `_streamPartitionId` now to fetch latest offset of partition.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to