flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yun Tang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-5510) Replace Scala Future with FlinkFuture in QueryableStateClient
Date Mon, 09 Oct 2017 06:50:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-5510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16196560#comment-16196560
] 

Yun Tang commented on FLINK-5510:
---------------------------------

According to [FLINK-725 (Remove Flink Futures or back them by CompletableFutures)|https://issues.apache.org/jira/browse/FLINK-7252],
Flink already starts to replace Flink Future with Java8's CompletableFuture, I think we need
to rename and edit this issue.

> Replace Scala Future with FlinkFuture in QueryableStateClient
> -------------------------------------------------------------
>
>                 Key: FLINK-5510
>                 URL: https://issues.apache.org/jira/browse/FLINK-5510
>             Project: Flink
>          Issue Type: Improvement
>          Components: Queryable State
>            Reporter: Ufuk Celebi
>            Priority: Minor
>
> The entry point for queryable state users is the {{QueryableStateClient}} which returns
query results via Scala Futures. Since merging the initial version of QueryableState we have
introduced the FlinkFuture wrapper type in order to not expose our Scala dependency via the
API.
> Since APIs tend to stick around longer than expected, it might be worthwhile to port
the exposed QueryableStateClient interface to use the FlinkFuture. Early users can still get
the Scala Future via FlinkFuture#getScalaFuture().



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message