You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "A. Sophie Blee-Goldman (Jira)" <ji...@apache.org> on 2020/11/13 22:37:00 UTC

[jira] [Updated] (KAFKA-6687) Allow to read a topic multiple times

     [ https://issues.apache.org/jira/browse/KAFKA-6687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

A. Sophie Blee-Goldman updated KAFKA-6687:
------------------------------------------
    Fix Version/s: 2.8.0

> Allow to read a topic multiple times
> ------------------------------------
>
>                 Key: KAFKA-6687
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6687
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>            Reporter: Matthias J. Sax
>            Assignee: A. Sophie Blee-Goldman
>            Priority: Major
>             Fix For: 2.8.0
>
>
> Users often want to read topic multiple times. However, this is not possible because there is a single consumer and thus a topic can only be consumed once.
> Users get an exception
> {quote}Exception in thread “main” org.apache.kafka.streams.errors.TopologyException: Invalid topology: Topic source has already been registered by another source.
> {quote}
> If they use a topic name in multiple `stream()`, `table()`, `globalTable()` calls.
> However, with KAFKA-6034 in place, we could allow adding a topic multiple times and rewrite the topology internally to only read the topic once. This would simplify application code as users don't need to put workaround in place to get the same behavior.



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