Hi All,

I’m facing a weird issue with sending JSON formatted events to a Siddhi TCP 
Source defined as below:

@source(type = 'tcp',
   @map(type = 'json', fail.on.missing.attribute = "false"))
define stream SampleStram(my_key string, my_value double);
I’ve created a Python client to send messages to this TCP socket but nothing 
happens (sample Python lines are as follows):

host = '127.0.0.1'
port = 9892
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((host, port))         
s.sendall(my_values)


 I just see the below line in the Siddhi app logs:
[io.netty.util.ResourceLeakDetectorFactory] : Loaded default 
ResourceLeakDetector: io.netty.util.ResourceLeakDetector@7b7de0bb

Any ideas are highly welcome.. (or any sample Python client ?)

best regards..

bahtiyar

_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to