[ https://issues.apache.org/jira/browse/FLINK-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14561084#comment-14561084 ]
Robert Metzger commented on FLINK-2081: --------------------------------------- Can we come to an agreement here? I think both approaches are equal. Its a matter of estimating which case is more frequent. I'll now implement the {{PersistentKafkaSource}} assuming that {{restoreState()}} is called before {{open()}}. Whoever changes the order as part of this issue has to change that in the KafkaSource as well. > Change order of restore state and open for Streaming Operators > -------------------------------------------------------------- > > Key: FLINK-2081 > URL: https://issues.apache.org/jira/browse/FLINK-2081 > Project: Flink > Issue Type: Improvement > Components: Streaming > Affects Versions: 0.9 > Reporter: Aljoscha Krettek > Assignee: Aljoscha Krettek > > Right now, the order is restore state -> open. Users often set internal state > in the open method, this would overwrite state that was restored from a > checkpoint. If we change the order to open -> restore this should not be a > problem anymore. -- This message was sent by Atlassian JIRA (v6.3.4#6332)