[ https://issues.apache.org/jira/browse/KAFKA-7833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias J. Sax updated KAFKA-7833: ----------------------------------- Labels: newbie (was: ) > 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 > 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)