Re: Kafka Streams branching return type affects bindings when using multiple output bindings: intentional behaviour?

2024-06-20 Thread Matthias J. Sax
Jenny, thanks for reaching out. Yes, we plan to remove the old variant of `branch()` (which was deprecated with KIP-418) in the 4.0 release (https://issues.apache.org/jira/browse/KAFKA-12824) which is planned for end of this year. KIP-418 changes the pattern from relying on order to relying

Kafka Streams branching return type affects bindings when using multiple output bindings: intentional behaviour?

2024-06-20 Thread Jenny Qiao
Hello, KIP-418 (>=2.8) improved the branching return type from KStream<>[] to HashMap. This changes the output binding when using multiple branches in the Kafka Streams binder of Spring Cloud Stream - the bindings are possibly wrong because the map storing the KStream branches is unordered.