Kong: Feature request: UDP routing

Created on 21 Jun 2019  路  7Comments  路  Source: Kong/kong

Hi folks,
I saw kong can support udp log and tcp packets.
Does it also handle udp packet as well?
Thanks.

tasfeature

Most helpful comment

With UDP feature added, Kong will be a very good choice for game server developments and will make k8s more Comfortable for game server deployments. So sad..... what a pity.

Is it hard to add UDP into kong? Is it similar to Nginx UDP upstream?

All 7 comments

if you mean proxying UDP traffic, then unfortunately no. It's on the roadmap afaik, but no timelines available.

With UDP feature added, Kong will be a very good choice for game server developments and will make k8s more Comfortable for game server deployments. So sad..... what a pity.

Is it hard to add UDP into kong? Is it similar to Nginx UDP upstream?

+1 would be good to have this.

Scenario for me: Want to proxy Logstash through Kong which supports only UDP

Why is this closed?

@hbagdi Do you have any pointers on how to implement this? If this is similar to nginx UDP reverse proxy settings, I'd like to take a stab at this?

Is it possible to proxy a set of metrics received over HTTP/TCP to a dogstatsd upstream server running UDP?

Is it possible to proxy a set of metrics received over HTTP/TCP to a dogstatsd upstream server running UDP?

No. Kong cannot do protocol conversion between HTTP or TCP to UDP.

you could probably write a plugin that takes the http request and sends it of over tcp/udp (from Lua, so without using the actual proxy engine). It would be similar to the TCP/UDP logging plugins, but with a different payload.

Was this page helpful?
0 / 5 - 0 ratings