Github user aljoscha commented on a diff in the pull request:
https://github.com/apache/flink/pull/2093#discussion_r67155650
--- Diff:
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/datastream/WindowedStream.java
---
@@ -124,16 +124,17 @@ public WindowedStream(KeyedStream<T, K> input,
}
/**
- * Sets the allowed lateness. If the {@link WindowAssigner} used
+ * Sets the allowed lateness. By default this is 0. If the {@link
WindowAssigner} used
--- End diff --
The javadoc is out of date with the new exception-throwing behavior. For
the text of the exception I would prefer something like "Setting the allowed
lateness is only valid for event-time windows.". Precise and simple. ð
---
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.
---