Adding notes to the sample
@@ -28,6 +28,13 @@ Viewing the Results:
[2017-12-18 17:52:18,255] INFO {org.wso2.siddhi.core.stream.output.sink.LogSink} - Default Mapper : Event{timestamp=1513599738255, data=[Jelly Bean, 3030.71], isExpired=false}
[2017-12-18 17:52:18,256] INFO {org.wso2.siddhi.core.stream.output.sink.LogSink} - Custom Mapper : Event{timestamp=1513599738256, data=[Jelly Bean, 3.0], isExpired=false}
[2017-12-18 17:52:19,256] INFO {org.wso2.siddhi.core.stream.output.sink.LogSink} - Default Mapper : Event{timestamp=1513599739256, data=[Cupcake, 3212.83], isExpired=false}
+
+Notes:
+ If you edit this application while it's running, stop the application -> Save -> Start.
+ If the message "Tcp Server started in 0.0.0.0:9892" does not appear,it could be due to port 9892, defined in the Siddhi application is already being used by a different program. To resolve this issue, please do the following,
+ * Stop this Siddhi application (Click 'Run' on menu bar -> 'Stop')
+ * Change the port 9892 to an unused port, in this Siddhi application's source configuration.
+ * Start the application and check whether the specified messages appear on the console
*/
@source(type='tcp', context='SweetProductionStream', port='9892',
