Current state: Adopted
Discussion thread: here
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).
KTable has the nicely useful #queryableStoreName(), similar method is missing from GlobalKTable.
GlobalKTable#queryableStoreName() would be added as public method. It returns the name of the state store.
If users do not provide a store name when specifying Materialized or they do not provide a Materialized object at all in globalTable function, null would be returned from queryableStoreName().
If users provide a store name when building the topology, queryableStoreName() would return user-supplied store name.
Compatibility, Deprecation, and Migration Plan
- This is new API.
If there are alternative ways of accomplishing the same thing, what were they? The purpose of this section is to motivate why the design is the way it is and not some other way.