gregof
gregof

Reputation: 23

SessionWindows in Kafka

I'm reading a Confluent blog about Windowing in Kafka Strams: https://www.confluent.io/blog/windowing-in-kafka-streams/ and I found this under the Session Windows:

If your inactivity window is too short or you have lots of events, this can result in a very long window!

How is it possible? For me it should be the opposite! For example let's assume that in the stream new events are coming more or less once per minute so if I will create inactivity window to 5 minutes then final window will be huge or will never end. To have small windows I need to decrease inactivity gap to for example 1 minute. Am I right?

Upvotes: 0

Views: 15

Answers (0)

Related Questions