Changing Buckets

An event cache organizes events into buckets. By default, the buckets are determined from the keys of the input stream/window. You can change that default behavior to alternative keys, specifying other fields in square brackets after the name of the input.

Specifying the following keeps buckets organized by distinct values of the d0 and d1 fields:
eventCache(instream[d0,d1]) e0;
            
To keep one large bucket of all events, write the following:
eventCache(instream[]) e0;