You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2022/08/02 01:57:24 UTC

[GitHub] [kafka] guozhangwang commented on a diff in pull request #12468: KAFKA-13877: Fix flakiness in RackAwarenessIntegrationTest

guozhangwang commented on code in PR #12468:
URL: https://github.com/apache/kafka/pull/12468#discussion_r935046325


##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/StreamTask.java:
##########
@@ -1267,7 +1267,7 @@ public RecordQueue createQueue(final TopicPartition partition) {
             final SourceNode<?, ?> source = topology.source(partition.topic());
             if (source == null) {
                 throw new TopologyException(
-                        "Topic is unknown to the topology. " +
+                        "Topic " + partition.topic() + " is unknown to the topology. " +

Review Comment:
   This is piggy-backed improvement when I tried to debug the failure: it's better to log the missing topic name as well.



-- 
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-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org