frankvicky commented on code in PR #20557: URL: https://github.com/apache/kafka/pull/20557#discussion_r2362219627
########## clients/src/main/java/org/apache/kafka/clients/consumer/internals/metrics/ConsumerRebalanceMetricsManager.java: ########## @@ -106,4 +113,14 @@ public void maybeRecordRebalanceFailed() { public boolean rebalanceStarted() { return lastRebalanceStartMs > lastRebalanceEndMs; } + + /** + * Register metric to track the number of assigned partitions. + * It will consider partitions assigned to the consumer + * regardless of whether they were assigned via consumer.subscribe or consumer.assign Review Comment: Should we use `@link` here? -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org