Controlling how long each event is retained by the solution

To control how events are stored in system memory or the backing database, set the event time horizon by adding the maxHorizon or eventAggregateMaxHorizon property to the solution properties file.