Receive UDP packets
Author: helgeolavCreated Sep 14, 2021Updated Aug 12, 2026
Labelsenhancementinputs
Hi
I have an issue receiving UDP packets. The problem seems to be with codec, either requiring a newline or some other delimiter to actually create a message. I just need a packet boundary (one packet = one message) and 'codec: all-bytes' does not do that either for me. I am not sure how to proceed on this. Any ideas?
If ok I could make a PR and try either rewrite the code and try fix this. I can also look into adding metadata as mentioned in #327 at the same time.
My config. As UDP sender I can use nc -w 0 -u 127.0.0.1 5000 < myfile.
input:
socket_server:
network: udp
address: 0.0.0.0:5000
pipeline:
processors: []
output:
type: stdout```Source: redpanda-data/connect