Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
Current GlobalKTable's interface does not allow any transformations on itself:
public interface GlobalKTable<K, V> { /** * Get the name of the local state store that can be used to query this {@code GlobalKTable}. * * @return the underlying state store name, or {@code null} if this {@code GlobalKTable} cannot be queried. */ String queryableStoreName(); }
This limits use cases such that users want to read the source topic, and do some filtering / value transformations / reformatting etc before materialize it to the backing state stores for further operations like joins. On the other hand, for KTable today we already allow the source KTable to be filtered / value-mapped etc which would, behind the scene, apply those applications on the fly before materializing to the state stores.
We should consider adding such functionalities for GlobalKTable as well.
Attachments
Issue Links
- duplicates
-
KAFKA-7397 Ability to apply DSL stateless transformation on a global table
- Open