Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.11.2, 1.12.0
Description
According to the JavaDocs of WatermarkStrategy.withTimestampAssigner one can define a watermark strategy with the following code:
WatermarkStrategy<CustomObject> wmStrategy = WatermarkStrategy .forMonotonousTimestamps() .withTimestampAssigner((event, timestamp) -> event.getTimestamp());
However because of https://e.printstacktrace.blog/java-type-inference-generic-methods-chain-call/, this won't compile.
Attachments
Issue Links
- links to