I am new to esper cep. I need some clarification on the differences between esper window, context and schema. If possible provide examples
A window is something that retains a set of events. A context defines the life cycle of any analysis. So if that analysis includes a window then the context can be used to define when the window starts (when to start retaining events) and when it ends (when to throw the window away completely). Without a context the lifecycle starts when the EPL statement gets created and ends when the EPL statement gets destroyed. A schema provides event type information.