I want to build a CEP-Engine which is dynamic so you can add different event streams. As soon as a new stream is added, Esper should be able to read all the properties of the stream and put it into a list, for example. (For example integer id, long temperature, date timestamp etc.) Is this possible in Esper?
Would be very grateful for any help
In order to add a stream at runtime you can use create-schema.
For a stream that accepts events that an application sends using EPEventServive#sendEvent you should add the bus and public annotation (or set the equivalent compiler flags).
You can now use this stream.
You can attach a listener and have it do some logic. The Esper examples have a lot of detail. The create-schema is used in the "runtimeconfig" example.