Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-7075

Allow Topology#addGlobalStore to add a window store

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: streams
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nprad Nishanth Pradeep
                Reporter:
                guozhang Guozhang Wang
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: