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


##########
streams/src/main/java/org/apache/kafka/streams/StreamsBuilder.java:
##########
@@ -144,7 +144,7 @@ public synchronized <K, V> KStream<K, V> stream(final 
String topic,
      * @return a {@link KStream} for the specified topics
      */
     public synchronized <K, V> KStream<K, V> stream(final Collection<String> 
topics) {
-        return stream(topics, Consumed.with(null, null, null, null));
+        return stream(topics, Consumed.with(null, null));

Review Comment:
   Yes, there is multiple `with` overload taking 4 parameters now, and the 
compiler cannot resolve it. So we could either insert a cast, or just or a 
different overload. As we only pass in `null` anyway, I pick the second option.



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

Reply via email to