ableegoldman commented on a change in pull request #9446: URL: https://github.com/apache/kafka/pull/9446#discussion_r505901990
########## File path: streams/src/main/java/org/apache/kafka/streams/processor/internals/StreamsPartitionAssignor.java ########## @@ -1235,7 +1232,7 @@ private boolean addClientAssignments(final Set<TaskId> statefulTasks, consumersToFill.offer(consumer); } } else { - throw new IllegalStateException("Ran out of unassigned stateful tasks but some members were not at capacity"); + throw new TaskAssignmentException("Ran out of unassigned stateful tasks but some members were not at capacity"); Review comment: Likewise, this means a bug in the assignment algorithm that should never be hit ---------------------------------------------------------------- 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