[
https://issues.apache.org/jira/browse/KAFKA-6286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hrishi Baskaran reassigned KAFKA-6286:
--------------------------------------
Assignee: (was: Hrishi Baskaran)
> Consider reusing materialized store for multi-same-stream join
> --------------------------------------------------------------
>
> Key: KAFKA-6286
> URL: https://issues.apache.org/jira/browse/KAFKA-6286
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Reporter: Guozhang Wang
> Priority: Major
>
> Imagine the following streams application:
> {code}
> stream1.join(stream2...)..join(stream2)
> {code}
> Each join will result in {{stream2}} being materialized into a separate
> store. Arguably such multi-joins that involves the same stream multiple times
> is rare, but it worth considering if we can optimize such cases.
> One thing to note, though, is that in our DSL parser today we do "put into
> store first, and then query the other store second", which means if we share
> the same store it would result in duplicates as the matching would already
> see the newly put records in the second join.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)