Docker compose deploys dual master and dual slave #8389
Unanswered
sochina-heart
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.
-
Docker compose deploys dual master and dual slave, with two namesrv. When setting namesrvAddr, I can use the specific ip:port; ip:port, but I cannot send messages normally when using container name:port; container name:port. If there is only one namesrv, I can use the container name:port to set the namesrvAddr address. Is there something wrong with my settings?
This will not allow messages to be sent normally.
NAMESRV_ADDR=namesrv-a:9876;namesrv-b:9877
This will allow you to send messages normally.
NAMESRV_ADDR=ip:9876;ip:9877
But if it is a single machine deployment, this is OK
NAMESRV_ADDR=namesrv-a:9876
Beta Was this translation helpful? Give feedback.
All reactions