I am trying to using Kafka stream to make a statistic of unique visitor for a specific time range(24h), for example,
2020-07-03 22:00:00 ~ 2020-07-04 21:59:59 (24 hours) ,the time window should advance automatically at 2020-07-04 22:00:00.
According to the document ,Tumbling time windows seems like a considerable choice:
Duration windowSizeDuration = Duration.ofDays(1);
TimeWindows timeWindows = TimeWindows.of(windowSizeDuration);
however I can`t find any available stream api to limit the time range, can somebody give me some advice? Thanks