You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "John Roesler (Jira)" <ji...@apache.org> on 2022/01/27 04:46:00 UTC

[jira] [Updated] (KAFKA-13541) Make IQv2 query/store interface type safe

     [ https://issues.apache.org/jira/browse/KAFKA-13541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Roesler updated KAFKA-13541:
---------------------------------
    Affects Version/s: 3.2.0

> Make IQv2 query/store interface type safe
> -----------------------------------------
>
>                 Key: KAFKA-13541
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13541
>             Project: Kafka
>          Issue Type: Sub-task
>    Affects Versions: 3.2.0
>            Reporter: Patrick Stuedi
>            Assignee: Patrick Stuedi
>            Priority: Blocker
>
> 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)