Sam Lendle created KAFKA-7833:
---------------------------------

             Summary: 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


{{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
(v7.6.3#76005)

Reply via email to