dongnuo123 commented on code in PR #16511:
URL: https://github.com/apache/kafka/pull/16511#discussion_r1671032308
##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupCoordinatorShard.java:
##########
@@ -575,18 +581,32 @@ public CoordinatorResult<OffsetDeleteResponseData,
CoordinatorRecord> deleteOffs
public CoordinatorResult<Void, CoordinatorRecord> cleanupGroupMetadata() {
long startMs = time.milliseconds();
List<CoordinatorRecord> records = new ArrayList<>();
+ AtomicInteger deletedClassicGroupCount = new AtomicInteger(0);
Review Comment:
Just to confirm, is the `AtomicInteger` used to match the following forEach
loop?
--
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]