[ https://issues.apache.org/jira/browse/KAFKA-7075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16744720#comment-16744720 ]
Lionel Montrieux commented on KAFKA-7075: ----------------------------------------- [~twbecker] I spent some time on this yesterday. I need to write some integration tests, which I'm not quite certain how to approach, but I should have time this weekend to give it a go. > Allow Topology#addGlobalStore to add a window store > --------------------------------------------------- > > Key: KAFKA-7075 > URL: https://issues.apache.org/jira/browse/KAFKA-7075 > Project: Kafka > Issue Type: Bug > Components: streams > Reporter: Guozhang Wang > Assignee: Nishanth Pradeep > Priority: Major > Labels: newbie > > 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)