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

Allow Topology#addGlobalStore to add a window store

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • streams

    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

              Unassigned Unassigned
              guozhang Guozhang Wang
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: