bin-53 opened a new issue, #10081:
URL: https://github.com/apache/apisix/issues/10081

   ### Description
   
   How to configure multiple nacos to add weights, apisix documentation is 
really too simple.
   my config:
   ```
   discovery:                       # service discovery center
     nacos:
       host:
       - "http://ip1:8848";
       prefix: "/nacos/v1/"
       fetch_interval: 30    # default 30 sec
       weight: 1           # default 100
       timeout:
         connect: 2000       # default 2000 ms
         send: 2000          # default 2000 ms
         read: 5000          # default 5000 ms
       host:
       - "http://ip2:8848";
       prefix: "/nacos/v1/"
       fetch_interval: 30    # default 30 sec
       weight: 2           # default 100
       timeout:
         connect: 2000       # default 2000 ms
         send: 2000          # default 2000 ms
         read: 5000          # default 5000 ms
   ```
   
   The configuration cannot be invalidated because ip1 is always matched
   
   
   
   ### Environment
   
   - APISIX version (run `apisix version`):2.15
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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