[
https://issues.apache.org/jira/browse/FLINK-14570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16965055#comment-16965055
]
Seth Wiesman commented on FLINK-14570:
--------------------------------------
[~yanghua] I think you are misunderstanding.
The bootstrap function can set timers that will be written in the savepoint.
Those timers will then fire inside the data stream application that restores
from that state. For example, you could bootstrap a KeyedProcessFunction and
pre-set timers that will call the KeyedProcessFunction#onTimer method.
> KeyedStateBootstrapFunction missed onTimer callback method to fire timer
> ------------------------------------------------------------------------
>
> Key: FLINK-14570
> URL: https://issues.apache.org/jira/browse/FLINK-14570
> Project: Flink
> Issue Type: New Feature
> Components: API / State Processor
> Reporter: vinoyang
> Priority: Major
>
> In {{KeyedStateBootstrapFunction#Context}} we provided a {{TimerService}}
> which can be used to querying time and register timer. However, we may not be
> able to fire the timer.
> IMO, we'd better provide a {{onTimer}} callback method(just like
> {{KeyedProcessFunction}}) to expose this feature.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)