Github user aljoscha commented on a diff in the pull request:
https://github.com/apache/flink/pull/3412#discussion_r102939631
--- Diff:
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/AbstractStreamOperator.java
---
@@ -887,6 +864,30 @@ public void close() {
// Watermark handling
//
------------------------------------------------------------------------
+ public <K> void
registerWatermarkCallback(KeyRegistry.OnWatermarkCallback<K> callback,
TypeSerializer<K> keySerializer) {
--- End diff --
The key serialiser can be retrieved from
`getKeyedStateBackend().getKeySerializer()`.
---
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.
---