Deafult withAllowedLateness() for triggering when not using GlobalWindows
Open
core
improvement
java
P3
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
ERROR:
Exception in thread "main" java.lang.IllegalArgumentException: Except when using GlobalWindows, calling .triggering() to specify a trigger requires that the allowed lateness be specified using .withAllowedLateness() to set the upper bound on how late data can arrive before being dropped.
I guess it would be good to have a default behavior for such cases. I would suggest withAllowedLateness(Duration.ZERO)
Imported from Jira [BEAM-6739](https://issues.apache.org/jira/browse/BEAM-6739). Original Jira may contain additional context.
Reported by: aditya.guru149.
Contributor guide
Assessment
This issue has not been assessed yet.