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

Aljoscha Krettek commented on FLINK-6620:
-----------------------------------------

[~lzljs3620320] Unfortunately I'm very busy last week and the next week 
(ApacheCon and Strata London) so I'm very slow to respond to anything. Thanks 
for opening this issue! 😃

[~srichter] What do you think about this? We've had an interface like this for 
a while in Beam to support writing custom things along with the timers in 
key-grouped state.

> Add KeyGroupCheckpointedOperator interface that works for checkpointing 
> key-groups
> ----------------------------------------------------------------------------------
>
>                 Key: FLINK-6620
>                 URL: https://issues.apache.org/jira/browse/FLINK-6620
>             Project: Flink
>          Issue Type: Improvement
>          Components: DataStream API
>            Reporter: Jingsong Lee
>            Priority: Minor
>
> [~aljoscha] We have discussed it on: 
> https://issues.apache.org/jira/browse/BEAM-1393
> {code}
> /**
>  * This interface is used to checkpoint key-groups state.
>  */
> public interface KeyGroupCheckpointedOperator extends 
> KeyGroupRestoringOperator{
>   /**
>    * Snapshots the state for a given {@code keyGroupIdx}.
>    *
>    * <p>AbstractStreamOperator would call this hook in
>    * AbstractStreamOperator.snapshotState() while iterating over the key 
> groups.
>    * @param keyGroupIndex the id of the key-group to be put in the snapshot.
>    * @param out the stream to write to.
>    */
>   void snapshotKeyGroupState(int keyGroupIndex, DataOutputStream out) throws 
> Exception;
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to