Simulate UDP messages

2435
1
05-10-2016 10:13 AM
PhilipThompson
New Contributor II


Sorry in advance for the noob question.

I'm trying to confirm that my GEE installation is installed and configured correctly. My end goal will be to consume UDP messages from a client service. To that date end I'm trying to simulate UDP messages.

The Simulator only (?) sends TCP messages so I've created a couple of python scripts to send UDP messages and then receive same. The scripts are based on https://wiki.python.org/moin/UdpCommunication and do successfully send/receive to the server/port.

I then stop and kill the receiver before creating a standard UDP Input Connector. That connector can't see any messages and no warnings or errors appear in the log.

At the moment the message is simply "hello". I have both created a GeoEvent Definition and told the Input to Create Unrecognised Event Definitions.

Using Netstat I can see GeoEvent is listening for UDP messages on port 5565.

Am I missing something completely obvious?

0 Kudos
1 Reply
PhilipThompson
New Contributor II

Turns out I was missing something obvious. The standard UDP input connector is expecting messages to terminate with a carriage return. I should have sent "hello/n"

0 Kudos