Here we are going to discuss about how we can send WSO2 events to Agent Broker. There are two main methods available to do this.
...
When publishing data in above mentioned ways, Before sending events we need to define the stream definition to send data.
All the values that are send in the event must match with the stream definition (Previous CEP versions) but our CEP version 2.1.0 supports to send arbitrary key-value pairs which are not defined in the stream.
Below we have discussed further regarding that.
Supporting arbitrary key-value pairs in WSO2 events
...