You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Siddhartha Devineni <si...@gmail.com> on 2025/04/28 17:32:36 UTC

[DISCUSS] KIP-1174: Expose addReadOnlyStateStore in DSL (StreamsBuilder)

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.