You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2020/06/07 20:52:00 UTC

[jira] [Assigned] (KAFKA-7833) StreamsBuilder should throw an exception if addGlobalStore and addStateStore is called for the same store builder

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

Matthias J. Sax reassigned KAFKA-7833:
--------------------------------------

    Assignee: Rob Meng

> StreamsBuilder should throw an exception if addGlobalStore and addStateStore is called for the same store builder
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-7833
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7833
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 2.1.0
>            Reporter: Sam Lendle
>            Assignee: Rob Meng
>            Priority: Major
>              Labels: newbie
>
> {{StoreBuilder<KeyValueStore<String, String>> storeBuilder =}}
> {{ Stores.keyValueStoreBuilder(Stores.inMemoryKeyValueStore("global-store"), null, null);}}
> {{ builder.addGlobalStore(}}
> {{ storeBuilder,}}
> {{ "global-topic",}}
> {{ Consumed.with(null, null),}}
> {{ new KTableSource(storeBuilder.name())}}
> {{ );}}
> {{builder.addStateStore(storeBuilder); }}
> {{builder.build();}}
>  
>  
> Does not throw an exception.
>  
> cc [~mjsax]



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