bbejeck commented on code in PR #18051:
URL: https://github.com/apache/kafka/pull/18051#discussion_r1873467192
##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/taskassignor/StickyTaskAssignor.java:
##########
@@ -226,6 +223,9 @@ private void maybeUpdateTasksPerMember(final int
activeTasksNo) {
}
private Member findMemberWithLeastLoad(final Set<Member> members, TaskId
taskId, final boolean returnSameMember) {
+ if (members == null || members.isEmpty()) {
+ return null;
+ }
Review Comment:
Thanks @aliehsaeedii!
--
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]