[ 
https://issues.apache.org/jira/browse/KAFKA-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16168965#comment-16168965
 ] 

Richard Yu commented on KAFKA-5765:
-----------------------------------

To my understanding, there should be a {{merge()}} method that is added to the 
{{KStream}} interface (non-internal). However, that means that
no instances of internal classes could be used as an input argument. Meanwhile, 
the {{KStreamImpl}} class (which is internal) should override this method, but 
needs access to the corresponding {{InternalStreamsBuilder}} instance for the 
streams to be merged. Is there a way to access the corresponding 
{{InternalStreamsBuilder}} instance? 




> Move merge() from StreamsBuilder to KStream
> -------------------------------------------
>
>                 Key: KAFKA-5765
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5765
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 0.11.0.0, 1.0.0
>            Reporter: Matthias J. Sax
>              Labels: needs-kip, newbie
>             Fix For: 1.1.0
>
>
> Merging multiple {{KStream}} is done via {{StreamsBuilder#merge()}} (formally 
> {{KStreamBuilder#merge()}}). This is quite unnatural and should be done via 
> {{KStream#merge()}}.
> We need a KIP as we add a new method to a public {{KStreams}} API and 
> deprecate the old {{merge()}} method.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to