Confluent
CCDAK · Question #95
We want the average of all events in every five-minute window updated every minute. What kind of Kafka Streams window will be required on the stream?
The correct answer is D. Hopping window. A hopping window is defined by two propertiesthe window's size and its advance interval (aka "hop"), e.g., a hopping window with a size 5 minutes and an advance interval of 1 minute.
Developing with Kafka Streams
Question
We want the average of all events in every five-minute window updated every minute. What kind of Kafka Streams window will be required on the stream?
Options
- ASession window
- BTumbling window
- CSliding window
- DHopping window
How the community answered
(49 responses)- A4% (2)
- B8% (4)
- C16% (8)
- D71% (35)
Explanation
A hopping window is defined by two propertiesthe window's size and its advance interval (aka "hop"), e.g., a hopping window with a size 5 minutes and an advance interval of 1 minute.
Topics
#hopping window#windowing#time-based aggregation#sliding interval
Community Discussion
No community discussion yet for this question.