Github user tzulitai commented on the issue:
https://github.com/apache/flink/pull/3031
Hi @MayerRoman! Thank you for coming back to this issue.
I had a quick chat offline with @aljoscha about whether or not it'll be
reasonable to add this. Either your approach in this PR or letting window
operators checkpoint watermarks will both solve the issue of late elements
after restore. We thought that we should let the user function code be free of
responsibility of checkpointing watermarks, and let user code simply leave that
to the streaming internals (checkpointed by window operators, and perhaps also
by source operators).
So, essentially, the Kafka consumer should not need to checkpoint
watermarks, and we can close this PR and the JIRA ticket. Very sorry for the
late discussion on this, and having you worked on it already.
Let we know what you think and whether or not you agree :-)
---
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.
---