hmthoo commented on issue #8117:
URL: https://github.com/apache/apisix/issues/8117#issuecomment-1290290925
> Considered as solved, feel free to reopen this if you needed.
Multiple nodes should be a common requirement.
I suggest adding `priority` to the `example-plugin.lua`, don't let others
encounter this problem because of missing fields.
```
local up_conf = {
type = "roundrobin",
nodes = {
{host = conf.ip, port = conf.port, weight = 1, priority = 0},
}
}
```
--
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]