Status

Current stateAdopted

Discussion thread: here

JIRA: here 

Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

Motivation

KTable has the nicely useful #queryableStoreName(), similar method is missing from GlobalKTable.

Public Interfaces

GlobalKTable#queryableStoreName() would be added as public method.  It returns the name of the state store.

 Proposed Changes

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.

Rejected Alternatives

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.

  • No labels