You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "Revolyssup (via GitHub)" <gi...@apache.org> on 2023/08/24 07:37:20 UTC
[GitHub] [apisix] Revolyssup commented on issue #10081: nacos weigth help
Revolyssup commented on issue #10081:
URL: https://github.com/apache/apisix/issues/10081#issuecomment-1691165102
@bin-53 The configuration is wrong. You have duplicate fields. The `weight` here is the `default_weight` for discovered nodes. Which means if that during nacos discovery, if the result returned by nacos doesn't have a weight in data.host[i].weight for an endpoint then this default weight is used. What you't_url(base_uri, query_path)re trying to configure here, which is adding weight to different endpoints is actually done by nacos.
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org