All docs
This doc
Excerptmultiexcerpt | ||
---|---|---|
| ||
Events are the lifeline of WSO2 CEP/DAS. They not only process data as events, but also interact with external systems using events. Event is a unit of data, and an event stream is a sequence of events of a particular type. The type of events can be defined as an event stream definition. The following sections explain how to work with events in WSO2 DAS |
.
Table of Contents | ||||
---|---|---|---|---|
|
...
Anchor | ||||
---|---|---|---|---|
|
Excerptmultiexcerpt | ||
---|---|---|
| ||
Definitions of the event streams are stored in the filesystem as deployable artifacts in the <PRODUCT _HOME>/repository/deployment/server/eventstreams/ directory as .json files. These are hot deployable files and can be added/removed when the server is up and running. A sample event stream definition is as follows. |
Code Block | ||
---|---|---|
| ||
{ "streamId": "org.wso2.test:1.0.0", "name": "org.wso2.test", "version": "1.0.0", "nickName": "TestStream", "description": "Test Stream", "metaData": [ { "name": "ip", "type": "STRING" } ], "correlationData": [ { "name": "id", "type": "LONG" } ], "payloadData": [ { "name": "testMessage", "type": "STRING" } ] } |
...