xiangfu0 commented on PR #18687:
URL: https://github.com/apache/pinot/pull/18687#issuecomment-4654875277

   Updated the implementation to keep the superclass logic count-based. The 
default `StreamMetadataProvider.computePartitionGroupMetadata()` now fetches 
upstream `partitionCount`, loops partition ids `0..partitionCount-1`, and looks 
up existing statuses by `getStreamPartitionGroupId()`. That keeps the logic 
simple and matches Kafka contiguous partition ids while fixing the 
sparse-status bug caused by starting at 
`partitionGroupConsumptionStatuses.size()`.


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