apisix icon indicating copy to clipboard operation
apisix copied to clipboard

help request: health check with UDP proxy

Open liuning89757 opened this issue 2 years ago • 1 comments

Description

Apisix support UDP proxy but seems cannot support UDP health check, according to https://apisix.apache.org/docs/apisix/health-check/ . I test it with DNS service, when stop DNS service on one backend apisix can not recognize the change. The [lua-resty-healthcheck] document also has nothing about UDP. Suggestions are greatly appreciated.

Environment

  • APISIX version (run apisix version): 2.13
  • Operating system (run uname -a): centos7.6
  • OpenResty / Nginx version (run openresty -V or nginx -V): 1.19

liuning89757 avatar Aug 02 '22 06:08 liuning89757

@liuning89757 hello, health check currently only supports http https tcp protocol, and the default is http.

Hazel6869 avatar Aug 02 '22 08:08 Hazel6869

So looks like use Apisix as UDP proxy for production is not a good idea.

liuning89757 avatar Oct 13 '22 02:10 liuning89757