[
https://issues.apache.org/jira/browse/KAFKA-7497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17552538#comment-17552538
]
Rohit Verma commented on KAFKA-7497:
------------------------------------
In fact, our use case is also for multiple events on the same topic
[https://www.confluent.io/blog/multiple-event-types-in-the-same-kafka-topic/.|https://www.confluent.io/blog/multiple-event-types-in-the-same-kafka-topic/]
As suggested in the example if I push Customer and Order events in the same
topic/partition I want to do a self join to get customerOrders too.
> Kafka Streams should support self-join on streams
> -------------------------------------------------
>
> Key: KAFKA-7497
> URL: https://issues.apache.org/jira/browse/KAFKA-7497
> Project: Kafka
> Issue Type: New Feature
> Components: streams
> Reporter: Robin Moffatt
> Priority: Major
> Labels: needs-kip
>
> There are valid reasons to want to join a stream to itself, but Kafka Streams
> does not currently support this ({{Invalid topology: Topic foo has already
> been registered by another source.}}). To perform the join requires creating
> a second stream as a clone of the first, and then doing a join between the
> two. This is a clunky workaround and results in unnecessary duplication of
> data.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)