easyfrog commented on issue #717:
URL: 
https://github.com/apache/rocketmq-clients/issues/717#issuecomment-2026672324

   here is `broker.conf` in docker
   
   ```bash
   "broker.conf" 24L, 1000C
     1 # Licensed to the Apache Software Foundation (ASF) under one or more
     2 # contributor license agreements.  See the NOTICE file distributed with
     3 # this work for additional information regarding copyright ownership.
     4 # The ASF licenses this file to You under the Apache License, Version 2.0
     5 # (the "License"); you may not use this file except in compliance with
     6 # the License.  You may obtain a copy of the License at
     7 #
     8 #     http://www.apache.org/licenses/LICENSE-2.0
     9 #
    10 #  Unless required by applicable law or agreed to in writing, software
    11 #  distributed under the License is distributed on an "AS IS" BASIS,
    12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
implied.
    13 #  See the License for the specific language governing permissions and
    14 #  limitations under the License.
    15
    16 brokerClusterName = DefaultCluster
    17 brokerName = broker-a
    18 brokerId = 0
    19 deleteWhen = 04
    20 fileReservedTime = 48
    21 brokerRole = ASYNC_MASTER
    22 flushDiskType = ASYNC_FLUSH
    23 namesrvAddr=192.168.1.8:9876
    24 brokerIP1=192.168.1.8
   ```
   
   here is the start mq* in docker:
   
   ```bash
    1 #!/bin/bash
     2 
     3 # start mqnamesrv service
     4 nohup $ROCKETMQ_HOME/bin/mqnamesrv > /dev/null 2>&1 &
     5 echo "~Pm~J[m~Zmqnamesrv"
     6 
     7 # start mqbroker service
     8 nohup $ROCKETMQ_HOME/bin/mqbroker -n 192.168.1.8:9876 -c 
$ROCKETMQ_HOME/conn
       f/broker.conf  > /dev/null 2>&1 &
     9 echo "~Pm~J[m~Zmqbroker"
    10 
    11 # start console service
    12 cd $CONSOLE_HOME
    13 nohup  java -jar rocketmq-console.jar > /dev/null 2>&1 &
   ```


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to