Guozhang Wang created KAFKA-7075:
------------------------------------

             Summary: Allow Topology#addGlobalStore to add a window store
                 Key: KAFKA-7075
                 URL: https://issues.apache.org/jira/browse/KAFKA-7075
             Project: Kafka
          Issue Type: Improvement
          Components: streams
            Reporter: Guozhang Wang


Today although {{Topology#addGlobalStore}} can take any {{StateStore}} types, 
the internal implementation {{InternalTopologyBuilder#addGlobalStore}} only 
accepts {{StoreBuilder<KeyValueStore>}}. It means if users pass in a windowed 
store builder in {{Topology#addGlobalStore}} it will cause a runtime 
ClassCastException.

We should fix this issue by relaxing the {{InternalTopologyBuilder}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to