[
https://issues.apache.org/jira/browse/KAFKA-13541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Roesler updated KAFKA-13541:
---------------------------------
Parent: (was: KAFKA-13479)
Issue Type: Improvement (was: Sub-task)
> Make IQv2 query/store interface type safe
> -----------------------------------------
>
> Key: KAFKA-13541
> URL: https://issues.apache.org/jira/browse/KAFKA-13541
> Project: Kafka
> Issue Type: Improvement
> Components: streams
> Reporter: Patrick Stuedi
> Assignee: Patrick Stuedi
> Priority: Minor
> Labels: IQv2
>
> Currently the new IQv2 interface allows applications to query state stores
> using subclasses of the Query<V> type. Unfortunately there is currently no
> way to check that the template type of the query matches the type of the
> relevant store the query is executed on. As a consequence stores have to do a
> set of unsafe casts.
> This ticket is to explore ways to make the query interface type safe where
> only type mismatches are detected at compile time.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)