showuon commented on a change in pull request #9149:
URL: https://github.com/apache/kafka/pull/9149#discussion_r467755721



##########
File path: 
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/WorkerSourceTask.java
##########
@@ -430,7 +434,7 @@ private void maybeCreateTopic(String topic) {
             log.info("Created topic '{}' using creation group {}", newTopic, 
topicGroup);
         } else {
             log.warn("Request to create new topic '{}' failed", topic);
-            throw new ConnectException("Task failed to create new topic " + 
topic + ". Ensure "
+            throw new ConnectException("Task failed to create new topic " + 
newTopic + ". Ensure "

Review comment:
       should be `newTopic` here for error message.




----------------------------------------------------------------
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


Reply via email to