Github user fhueske commented on the issue: https://github.com/apache/flink/pull/4530 You're right @xccui, this is a trade off. I thought about this again and agree with @aljoscha that it would be better to avoid the additional method call. The `processWatermark()` method is called many times in every DataStream program and the duplicated code are less than 10 lines of code in 4 classes. I will do the refactoring and merge this PR. Thanks, Fabian
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---