aliehsaeedii commented on code in PR #21840:
URL: https://github.com/apache/kafka/pull/21840#discussion_r3225606032


##########
docs/streams/developer-guide/interactive-queries.md:
##########
@@ -135,12 +135,20 @@ Every application instance can directly query any of its 
local state stores.
 
 The _name_ of a state store is defined when you create the store. You can 
create the store explicitly by using the Processor API or implicitly by using 
stateful operations in the DSL.
 
-The _type_ of a state store is defined by `QueryableStoreType`. You can access 
the built-in types via the class `QueryableStoreTypes`. Kafka Streams currently 
has two built-in types:
+The _type_ of a state store is defined by `QueryableStoreType`. Pass a 
built-in implementation from 
[`QueryableStoreTypes`](/{version}/javadoc/org/apache/kafka/streams/state/QueryableStoreTypes.html)
 as the second argument to `KafkaStreams#store(...)`. The helpers below are 
those implementations:
 
-  * A key-value store `QueryableStoreTypes#keyValueStore()`, see Querying 
local key-value stores.
-  * A window store `QueryableStoreTypes#windowStore()`, see Querying local 
window stores.
+  * **`QueryableStoreTypes#keyValueStore()`** — see [Querying local key-value 
stores](#querying-local-key-value-stores).
+  * **`QueryableStoreTypes#timestampedKeyValueStore()`** — see [Querying local 
key-value stores](#querying-local-key-value-stores).
+  * **`QueryableStoreTypes#timestampedKeyValueStoreWithHeaders()`** — see 
[#header-aware-stores-interactive-queries](#header-aware-stores-interactive-queries).
+  * **`QueryableStoreTypes#windowStore()`** — see [Querying local window 
stores](#querying-local-window-stores).
+  * **`QueryableStoreTypes#timestampedWindowStore()`** — see [Querying local 
window stores](#querying-local-window-stores).
+  * **`QueryableStoreTypes#timestampedWindowStoreWithHeaders()`** — see 
[#header-aware-stores-interactive-queries](#header-aware-stores-interactive-queries).
+  * **`QueryableStoreTypes#sessionStore()`** — see [Querying local window 
stores](#querying-local-window-stores).
+  * **`QueryableStoreTypes#sessionStoreWithHeaders()`** — see 
[#header-aware-stores-interactive-queries](#header-aware-stores-interactive-queries).
 
+### Header-aware stores and interactive queries 
{#header-aware-stores-interactive-queries}
 
+For a [header-aware store](processor-api.html#headers-in-state-stores), use 
the matching **`*WithHeaders()`** entry from the list above when interactive 
query results must include headers.

Review Comment:
   Do you please remove the `matching` everywhere and replcae it with a better 
sentence/term.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to