DanielLeens opened a new pull request, #13528:
URL: https://github.com/apache/seatunnel/pull/13528

   Yes, this contributes to Apache SeaTunnel.
   
   ### Purpose
   
   Add a native UDP Source for actual datagram listeners and selected wire 
decoders. Related generic transport requests are #1903 and #3482. The 
separately owned TCP Syslog work in #10900/#2649 remains untouched.
   
   ### Changes
   
   Add the independent UDP artifact, dedicated E2E module, generated Source 
Factory SPI, parent reactor/dist/installer/mapping entries and bilingual 
docs/changelog. JDK networking and existing internal dependencies are used with 
no new runtime SDK, root version or shared framework change.
   
   One to 64 exclusive numeric-address listener ports are assigned to bounded 
readers. Nonblocking polls preserve datagram boundaries, strict UTF-8 and 
arbitrary binary bytes, raw or literal-separated records, and sender 
provenance. Sentinel reads detect oversize datagrams. 
Malformed/truncated/over-expanded packets are rejected atomically under a 
drop-or-fail policy, while bounded polling relies on kernel buffering for 
backpressure. Cancellation closes listeners without waiting for checkpoint 
locks.
   
   Selected decoders support RFC 3164 and RFC 5424 version 1 Syslog, plaintext 
collectd numeric metrics and fixed-format NetFlow v5. No acknowledgement, 
retransmission or duplicate suppression is added to UDP.
   
   ### Coverage authored
   
   Ten real-Zeta E2E cases use an independent sender JVM and inspect committed 
LocalFile JSON receipts. They cover exact text/binary/zero-length datagrams and 
multiple senders/ports, separator and burst boundaries, malformed 
UTF-8/oversize/record expansion, structured Syslog and escaped data, collectd 
signed/unsigned numeric precision and rejection, NetFlow v5 fields/truncation, 
inactivity completion, fail-on-malformed, bind exclusivity/cancel/port release 
and partial-terminal checkpoint restore with distinct records.
   
   ### Validation and remaining scope
   
   Scoped Spotless apply/check, static 
XML/registration/options/docs/syntax/hash checks, normal and new-file 
whitespace checks passed. Compilation, generated SPI, packaging and all runtime 
tests are **pending GitHub CI**; no local runtime checks ran.
   
   This is a selected-format implementation. NetFlow v9 template decoding, 
signed/encrypted collectd, notifications/types aliases, alternate Syslog 
charsets and same-port native fan-out remain unimplemented. IPFIX is 
unsupported. UDP cannot replay packets lost before receipt; snapshot progress 
does not make network delivery reliable or exactly-once. The complete 
protocol-variant backlog remains recorded.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to