-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support health check for TCP upstreams #10826
Comments
Hi @MonkeyDLufy please check the docs here if this is what you are looking for Are you having any specific problems in configuring it? |
This is my config. I used tcpdump to capture packets and observed that the probe packets for active health checks were not sent. Among the two IP addresses in the example, one of them is not reachable. I expected it to be circuit broken and not receive any traffic, but apisix still sent traffic to it until the connection timed out and then retried with another available node. |
AFAIK, healthchek for TCP upstreams isn't supported. |
Thank you for helping me confirm this information. I hope that Apisix can provide support for this feature in the future |
@shreemaan-abhishek I can handle this issue, can you assign this to me? |
I think health check for UDP upstreams is also necessary. |
Hi |
@fatihusta it would be much better if you write your proposal first. |
I re-imlemented this PR. Also I added new control API functions. |
Description
As a tcp server user, I want to use apisix for proxy tcp servers. So I need the stream upstream can support active health check. But I try and found that, the active health check seem only support for http, it can't work on tcp.
The text was updated successfully, but these errors were encountered: