You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2021/05/22 20:27:00 UTC

[jira] [Commented] (KAFKA-12824) Remove Deprecated method KStream#branch

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

Matthias J. Sax commented on KAFKA-12824:
-----------------------------------------

KIP-418 was only merged in 2.8 so I think it will be too early to remove this method in 4.0.0 – we keep methods for at least 1 year, ie, 3 releases, and remove only in the next major release after this timeline.

> Remove Deprecated method KStream#branch
> ---------------------------------------
>
>                 Key: KAFKA-12824
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12824
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: streams
>            Reporter: Josep Prat
>            Priority: Blocker
>             Fix For: 4.0.0
>
>
> The method branch in both Java and Scala KStream class was deprecated in version 2.8:
>  * org.apache.kafka.streams.scala.kstream.KStream#branch
>  * org.apache.kafka.streams.kstream.KStream#branch(org.apache.kafka.streams.kstream.Predicate<? super K,? super V>...)
>  * org.apache.kafka.streams.kstream.KStream#branch(org.apache.kafka.streams.kstream.Named, org.apache.kafka.streams.kstream.Predicate<? super K,? super V>...) 
>  
> See KAFKA-5488 and KIP-418



--
This message was sent by Atlassian Jira
(v8.3.4#803005)