mjsax commented on code in PR #18778:
URL: https://github.com/apache/kafka/pull/18778#discussion_r1940549273


##########
streams/src/main/java/org/apache/kafka/streams/Topology.java:
##########
@@ -135,7 +139,7 @@ public synchronized Topology addSource(final String name,
     /**
      * See {@link #addSource(String, String...)}.
      *
-     * <p>Takes a {@link Pattern} to match topics to consumes from, instead of 
a list of topic names.
+     * <p>Takes a {@link Pattern} (cannot be {@code null}) to match topics to 
consumes from, instead of a list of topic names.

Review Comment:
   Similar to `NullPointerException` -- we could also omit it.



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

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

Reply via email to