feyman2016 commented on a change in pull request #8589: URL: https://github.com/apache/kafka/pull/8589#discussion_r428581576
########## File path: clients/src/main/java/org/apache/kafka/clients/admin/RemoveMembersFromConsumerGroupOptions.java ########## @@ -37,7 +37,16 @@ public RemoveMembersFromConsumerGroupOptions(Collection<MemberToRemove> members) this.members = new HashSet<>(members); } + public RemoveMembersFromConsumerGroupOptions() { + this.members = new HashSet<>(); + } + public Set<MemberToRemove> members() { return members; } + + public boolean removeAll() { + return members.isEmpty(); + } + Review comment: Fixed ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org