Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1.  Start and access the Stream Processor Studio. For detailed instructions, see Starting Stream Processor Studio.
  2.  For this example, click the existing sample ReceiveAndCount. It opens in a new untitled tab.
  3.  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.
  4. Go to File and click Save. (Default saved in default workspace folder). Once saved you can see the above options are now enabled. 
    1. To start the application in Run mode, click Run => Run. This logs the following output in the console.
    2. 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.
  5. To create an error for demonstration purposes, change thecount() function in the query1 query to countNew(), and save. Then click Run => Run. As a result, the following output is logged in the console.

...