rreddy-22 commented on code in PR #15785:
URL: https://github.com/apache/kafka/pull/15785#discussion_r1580115582


##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/assignor/RangeAssignor.java:
##########
@@ -90,17 +91,29 @@ private Map<Uuid, List<String>> membersPerTopic(final 
AssignmentSpec assignmentS
         Map<Uuid, List<String>> membersPerTopic = new HashMap<>();
         Map<String, AssignmentMemberSpec> membersData = 
assignmentSpec.members();
 
-        membersData.forEach((memberId, memberMetadata) -> {
-            Collection<Uuid> topics = memberMetadata.subscribedTopicIds();
+        if (assignmentSpec.groupSubscriptionModel().equals(HOMOGENEOUS)) {
+            List<String> allMembers = new ArrayList<>(membersData.keySet());

Review Comment:
   Thanks! Made the change



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

Reply via email to