I want to send some log messages to the redis server. I want to use udp protocol to do this.
Does redis support UDP between server and client?
No, the Redis protocol, RESP, is TCP based:
Networking layer
A client connects to a Redis server creating a TCP connection to the port 6379.
While RESP is technically non-TCP specific, in the context of Redis the protocol is only used with TCP connections (or equivalent stream oriented connections like Unix sockets).
What you could do is use a UDP proxy, but I'm not familiar with anything like that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With