Skip to content

主备自动切换模式部署中端口的值是怎么来的?如果要修改怎么修改? #6856

Answered by TheR1sing3un
heshiyingx asked this question in Q&A
Discussion options

You must be logged in to vote

麻烦再请教一下,这三个端口用于controller组件和broker交互。应该是controller去访问broker吧,就是说某个broker应该需要监听这三个端口中的一个。怎么在broker上去配置这个交互所使用的端口呢?

这个是broker访问controller的端口,比如说broker去controller注册,controller访问broker的话,是通过broker往controller注册的信息里面有broker的地址。

如果你修改了controller部署的配置文件的地址/端口这些的话,broker的配置文件也需要改。

参考这个配置参数controllerAddr,后面填你的controller的ip:port即可,多个controller就填多个

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@heshiyingx
Comment options

@TheR1sing3un
Comment options

Answer selected by heshiyingx
@heshiyingx
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants