Github user StephanEwen commented on a diff in the pull request:
https://github.com/apache/flink/pull/895#discussion_r34261966
--- Diff: docs/apis/streaming_guide.md ---
@@ -1300,6 +1300,9 @@ Another way of exposing user defined operator state
for the Flink runtime for ch
When the user defined function implements the `Checkpointed` interface,
the `snapshotState(â¦)` and `restoreState(â¦)` methods will be executed to
draw and restore function state.
+In addition to that, user functions can also implement the
`CheckpointNotifier` interface to receive notifications on completed
checkpoints via the `notifyCheckpointComplete(long checkpointId)` method.
+Note that there is no guarantee for the user function to receive a
notification once the checkpoint is complete.
--- End diff --
Let's write it like "Note that there is no guarantee for the user function
to receive a notification if a failure happens between checkpoint completion
and notification. The notifications should hence be treated in a way that
notifications from later checkpoints can subsume missing notifications."
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---