7-11-liuliu commented on code in PR #24080:
URL: https://github.com/apache/kafka/pull/24080#discussion_r4476091095
##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/assignment/AssignmentInfo.java:
##########
@@ -494,7 +494,11 @@ private static Set<TopicPartition>
readTopicPartitions(final DataInputStream in,
}
final Set<TopicPartition> partitions = new HashSet<>(numPartitions);
for (int j = 0; j < numPartitions; j++) {
- partitions.add(new
TopicPartition(topicIndexDict.get(in.readInt()), in.readInt()));
+ final String topic = topicIndexDict.get(in.readInt());
Review Comment:
Thanks for adding the index to the error message. Looks good!
--
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]