...
- Points the default Axis2 repo to
<CEP_HOME>/sample/artifacts/0107
(by default, the Axis2 repo is<CEP_HOME>/repository/deployment/server
).
Executing the sample
Log into in to the CEP management console which is located at using the following URL and
admin/admin
credentials: https://localhost:9443/carbon.- Go to Tools -> Click Tools, and then click Event Simulator. Under the 'Multiple Events' section, you can see 4 files listed there You view four files listed under the Send multiple Events section, which contains some sample data as follows.
- Simulate the above streams in the following order
- userEvents.csv
- blackListUserEvents.csv
- purchaseEvents.csv
- deleteUserEvents.csv (in order to clean up the table)
The Click the corresponding Play button of the
userEvents.csv
file which contains sample data that is used to fill the in-memoryCardUserTable
. Click play start This starts sending events to fill the table.- The Click the corresponding Play button of the
blackListUserEvents.csv
file which contains sample data that is used to mark user entries in theCardUserTable
as blacklisted. Click play to start This starts sending blacklisted events and mark marks some table entries as blacklisted. - The Click the corresponding Play button of the
purchaseEvents.csv
file which contains credit card transactions data. Play it and send This sends the transaction data. After sending sample events from purchaseEvents.csv, you will be able to see the outputs as follows.
Click the corresponding Play button of the
deleteUserEvents.csv
file to clean up the tables.
You view the output logs in the CLI in which you run the product s as shown below.