You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by "sochina-heart (via GitHub)" <gi...@apache.org> on 2024/07/14 11:58:41 UTC
[D] Docker compose deploys dual master and dual slave [rocketmq]
GitHub user sochina-heart created a discussion: Docker compose deploys dual master and dual slave
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`
GitHub link: https://github.com/apache/rocketmq/discussions/8389
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org