[
https://issues.apache.org/jira/browse/FLUME-2917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15524214#comment-15524214
]
Tristan Stevens commented on FLUME-2917:
----------------------------------------
Just looking back at how I did this - it was actually inspired by the SyslogUDP
source - if anything it should be a superclass of that - although that's
probably more re-engineering than is necessary (unless you disagree of course!)
Given how dissimilar this is vs. the TCP version of Netcat source, I'd propose
to keep them separate. I'll create a review request now.
> Provide netcat UDP source as alternative to TCP
> -----------------------------------------------
>
> Key: FLUME-2917
> URL: https://issues.apache.org/jira/browse/FLUME-2917
> Project: Flume
> Issue Type: New Feature
> Components: Sinks+Sources
> Affects Versions: v1.6.0
> Reporter: Tristan Stevens
> Priority: Minor
> Attachments: FLUME-2917.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)