I am working on the Twitter Connector tutorial provided by the GeoEvent Team. I have been able to get real-time tweets with the appropriate information on my TCP socket (tcp5570-text-out):
I followed the next steps and created a new connector labeled "Publish Features to a Stream Layer". Here is a picture of my setup, formatted specifically to the instructions of the tutorial
So, after creating the connector, importing the proper .jar files for the inbound and outbound Twitter adapters/transports, this is what my GeoEvent Service looks like (along with the properties of the filter and processor):
After all this, my Stream Layer does not update with any new geolocated tweets. I have checked and double-checked my steps to make sure I wasn't missing a step, but I seem to be doing just fine. That is, however, I noticed a relatively large gap between the tutorial steps and the actual steps. One noticeable difference from the tutorial is this:
As you can see from the image I embedded for the connector, I cannot select this option. I am thinking this has something to do with it. Did I miss some step somewhere that allows this option to be turned on? Is the GEP version from the tutorial been upgraded to where this doesn't apply anymore, and if so, what else could I be possibly doing wrong?
What client are you using which does not update? Did you check on the WebSocket?
Thanks for the quick response. Where are the hidden properties of my connector located at within the GEP Manager? I have not done the WebSocket tutorial yet; do you recommend I do that before I start on this? Are you referring to Generic-JSON when you say "Formatted JSON" - in that case, then yes, it is set to false. Here is a screenshot of what I am working with (with the websocket connection identified in the bottom of the image:
Yes I would definitely recommend walking through the WebSocket Tutorial if you want to use StreamLayer.
The hidden properties are part of your connector properties. Please have a look on the edited screenshot below.
What did you specify as the URL on your StreamLayer Output? Make sure it is set to "StreamService”
Could you please check if you receive data on the WebSocket of the StreamLayer output by connecting to http://localhost.esri.com:6180/StreamService.
I checked the URL path in my output "stream-layer-out", and it is set to "/StreamService" (without the quotations). As far as receiving data on the Websocket, I cannot connect to http://localhost.esri.com:6180/StreamService.
I tried both of those ways and it didn't make a difference. I also included the "Update Interval" into the output and that didn't make a difference either. I apologize for my naivety but I appreciate you being patient with me. Any other ideas?
I would recommend you to walk through the WebSocket tutorial to understand WebSockets and StreamLayer in more detail.
I hope the WebSocket tutorial will help.
As always, Thomas, you have been a fantastic help. I will complete the Websocket Tutorial and will update this post as soon as I have an answer or another question.