Samir Bajaj
06/27/2024, 7:06 PMkeyBy.
However, the keys change every day, and new records appear in the stream with new keys -- and keys from the previous days will not be repeated.
So if I use keyBy, it will create a sub-stream which won't see any active traffic in the following days.
My question is: what happens to "inactive" (sub-) streams created by keyBy? Do they live forever and consume resources? Is there a way to terminate them?
And finally, is there an alternate way to process the events in this situation where the keys are changing every day?
Thank you.Matan Perelmuter
06/27/2024, 7:34 PMSamir Bajaj
06/27/2024, 8:22 PMMatan Perelmuter
06/28/2024, 6:30 AM