Slackbot
01/17/2024, 3:19 AMDavid K
01/17/2024, 6:11 PMwatermarkEmitIntervalMs actually does, and I will need to look into the code a bit. However, if your goal is to have an upper bound on the time it takes for a βwindowβ of events to be sent to your function, i.e., not waiting hours for the next 50k messages, you should use the windowLengthDurationMs property to control this. When used in conjunction with the windowLengthCount property, a window of events will be processed when either condition is met.David K
01/17/2024, 6:13 PMwindowLengthCount:50000 and windowLengthDurationMs:30000 then your function will be triggered when you receive 50k messages or 30 seconds have elapsed, whichever occurs first.Jeff Bolle
01/18/2024, 2:48 PMDavid K
01/18/2024, 4:25 PMJeff Bolle
01/18/2024, 6:30 PMjava.lang.IllegalArgumentException: Window length for time and count are set! Please set one or the other.Jeff Bolle
01/18/2024, 6:31 PMDavid K
01/18/2024, 6:37 PMJeff Bolle
01/18/2024, 6:44 PMJeff Bolle
01/18/2024, 6:45 PMDavid K
01/18/2024, 7:03 PMJeff Bolle
01/18/2024, 8:33 PM