ableegoldman commented on a change in pull request #9446:
URL: https://github.com/apache/kafka/pull/9446#discussion_r505901265
##########
File path:
streams/src/main/java/org/apache/kafka/streams/processor/internals/StreamsPartitionAssignor.java
##########
@@ -434,7 +430,7 @@ private boolean checkMetadataVersions(final int
minReceivedMetadataVersion,
minSupportedMetadataVersion);
} else {
- throw new IllegalStateException(
+ throw new TaskAssignmentException(
Review comment:
Just tried to standardize all permanent errors to throw
TaskAssignmentException instead. eg if there are incompatible mixed versions we
should shut everyone down until the operator can sort it out
----------------------------------------------------------------
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:
[email protected]