Revolyssup commented on issue #11516:
URL: https://github.com/apache/apisix/issues/11516#issuecomment-2304087909

   @Mararesliu The existing connections wont be dropped when you do apisix 
reload.
   
   
   For the stream-proxy related doubt, are you talking about something like
   
   ```yaml
   apisix:
     stream_proxy: # TCP/UDP proxy
       tcp: # TCP proxy address list
         -127.0.0.9:9101 #mysql server 1
         - "127.0.0.10:9101" #mysql server 2
   ```
   
   ```bash
   curl http://127.0.0.1:9180/apisix/admin/stream_routes/1 -H "X-API-KEY: 
$admin_key" -X PUT -d '
   {
       "server_port": 9101,
       "upstream": {
           "nodes": {
               "127.0.0.1:3306": 1
           },
           "type": "roundrobin"
       }
   }'
   ```
   
   then apisix should forward to the two mysql servers?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to