Kapacitor GroupByNode and its windows size

kapacitor

#1

Dose GroupByNode use a hidden window for aggregating incoming data from the stream? If not, how can it group incoming stream without collecting some of the records?
Should I first collect incoming stream using WindowNode and then pipe it to GroupByNode?