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

ASF GitHub Bot commented on KAFKA-8651:
---------------------------------------

astubbs commented on pull request #7068: KAFKA-8651: Add predicate map to 
#branch
URL: https://github.com/apache/kafka/pull/7068
 
 
   Using #branch with an array is error prone and not readable, due to 
referencing the results by magic index offsets. So, we suggest to add an API 
that allows naming different branches, which is more natural.
   
   See KIP (on it's way)
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
 
----------------------------------------------------------------
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


> Add a #branch overload that takes a Map of predicate names to predicates
> ------------------------------------------------------------------------
>
>                 Key: KAFKA-8651
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8651
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>    Affects Versions: 2.3.0
>            Reporter: Antony Stubbs
>            Priority: Minor
>
> A map can be a more natural way to work with passing in predicates and 
> extracting streams when working with the #branch method.
>  
> KIP and PR on their way.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to