Currently Flume provides a Netcat TCP source, however Netcat is often used with UDP. There is an implementation of a UDP client in the SyslogUDP source, this request takes this implementation and strips out the Syslog parts, thus forming a Netcat UDP source - where each datagram is recorded as a Flume event.
The implementation is provided for this at https://github.com/tmgstevens/FlumeNetcatUDPSource and also provided as an attached patch for inclusion.
N.B. Unit tests are provided for this.