How to create a balancer instance in apisix 3.3.0? #9882
Unanswered
Jingzhenzxz
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
OS: win 10
APISIX: 3.3.0-debian
etcd: bitnami/etcd:3.4.15
Docker Desktop version: 4.20.1
I want to use balancer to modify the upstream address of the request.
gray_release plugin is:
The route I created is:
When I visit 127.0.0.1:9080, the apisix container prints such a line of logs:
How can I correctly create a balancer instance?
If you need other information, please let me know, thank you!
I tried to replace "create_server_picker" with "new" method, apisix will print a similar log:
attempt to call field 'new' (a nil value).
Beta Was this translation helpful? Give feedback.
All reactions