Github user StefanRRichter commented on a diff in the pull request:
https://github.com/apache/flink/pull/3359#discussion_r106671770
--- Diff:
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/AbstractStreamOperator.java
---
@@ -477,7 +478,7 @@ public void initializeState(StateInitializationContext
context) throws Exception
for (int i = 0; i < noOfTimerServices; i++) {
String serviceName = div.readUTF();
- HeapInternalTimerService<?, ?>
timerService = this.timerServices.get(serviceName);
+ InternalTimerService<?, ?> timerService
= this.timerServices.get(serviceName);
--- End diff --
Maybe you could add a parameter to the factory method that allow us to
derive the generic types of key and value (e.g. the type serializers).
---
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.
---