You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/12/06 06:19:50 UTC
[GitHub] [rocketmq-docker] john1337 opened a new issue #17: 使用docker-compose部署broker返回253错误
john1337 opened a new issue #17: 使用docker-compose部署broker返回253错误
URL: https://github.com/apache/rocketmq-docker/issues/17
使用下面的配置部署broker,启动报253错误
version: '3.5'
services:
rmqbroker-a:
image: apacherocketmq/rocketmq:4.5.0
container_name: rmqbroker-a
ports:
- 11909:10909
- 11911:10911
- 11912:10912
volumes:
- ./logs/broker-a:/home/rocketmq/logs
- ./store/broker-a:/home/rocketmq/store
- ./conf/broker-a/broker-a.conf:/home/rocketmq/rocketmq-4.5.0/conf/broker.conf
privileged: true
command: sh mqbroker -c ../conf/broker.conf autoCreateTopicEnable=true &
配置如下:
brokerClusterName = rocketmq-cluster
brokerName = broker-a
brokerId = 0
# 这个ip配置为内网访问,让mq只能内网访问,不配置默认为内网
#brokerIP1 = 172.21.52.27
deleteWhen = 04
fileReservedTime = 48
# 内网的
namesrvAddr=172.21.52.27:9876
autoCreateTopicEnable=true
#Broker 对外服务的监听端口,
listenPort = 11911
#Broker角色
brokerRole=ASYNC_MASTER
#刷盘方式
flushDiskType=ASYNC_FLUSH
不知哪里出了问题
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services