The following code throws a IllegalArgumentException.
val timeWindow = TimeWindows
The exception is as follows and it's not clear why 60000 is the upper limit (not to mention that AdvanceMs with the uppercase A did also confuse me).
java.lang.IllegalArgumentException: AdvanceMs must lie within interval (0, 60000].
... 44 elided
I think that the message should be more developer-friendly and explain the boundaries, perhaps with an example (and a link to docs)?