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

Seth Wiesman commented on FLINK-14570:
--------------------------------------

-1 this was done on purpose. 

No timers registered in a bootstrap function will fire until the savepoint is 
restored on a data stream job. This method would never be called. 

> 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)

Reply via email to