Hello Kafka Community, I would like to propose a KIP-1174 <https://cwiki.apache.org/confluence/pages/resumedraft.action?draftId=354453962&draftShareId=739fdcbd-3219-4e23-a10f-9c23ae450142&>to expose the addReadOnlyStateStore functionality in the high-level DSL API (StreamsBuilder). This KIP aims to complete the work started in KIP-813 <https://cwiki.apache.org/confluence/display/KAFKA/KIP-813%3A+Shareable+State+Stores>, which introduced read-only state stores to the Processor API.
Currently, this functionality is only available through the low-level Processor API (Topology.addReadOnlyStateStore) but not yet through the more user-friendly DSL. The KIP proposes adding a new method to the StreamsBuilder class that follows the same pattern as the existing addGlobalStore method, making read-only state stores more accessible to users of the DSL. I welcome your feedback and discussion on this proposal. Thank you for your time. Siddhartha.