...
- Start and access the Stream Processor Studio. For detailed instructions, see Starting Stream Processor Studio.
- For this example, click the existing sample ReceiveAndCount. It opens in a new untitled tab.
- Save the Siddhi file sothat you can run it in the Run or Debug mode. To save it, click File => Save. Once the file is saved, you can see the Run and Debug menu options enables enabled as shown below.
- Go to File and click Save. (Default saved in default workspace folder). Once saved you can see the above options are now enabled.
- To start the application in Run mode, click Run => Run. This logs the following output in the console.
- Start the application in the Debug mode, click Run =>Debug. As a result, the following mesage is logged in the console. You can also note that another console tab is opened with debug options.
- To start the application in Run mode, click Run => Run. This logs the following output in the console.
- To create an error for demonstration purposes, change the
count()
function in thequery1
query tocountNew()
, and save. Then click Run => Run. As a result, the following output is logged in the console.
...