cserwen opened a new issue #4056:
URL: https://github.com/apache/rocketmq/issues/4056


   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   - What did you do (The steps to reproduce)?
   Use mqadmin to setConsumeMode as `POP`:
   ```bash
   sh mqadmin setConsumeMode -c rocketmq_cluster -n localhost:9876 -t topic -g 
consumer -m POP -n -1
   ```
   - What is expected to see?
   It should be created in slave node, too or be synchronized to the slave node 
just like `subscriptionGroup.json`.
   
   - What did you see instead?
   The messageRequestMode.json is only created on the master node. 
   
   2. Please tell us about your environment:
   
   
   4. Other information (e.g. detailed explanation, logs, related issues, 
suggestions on how to fix, etc):
   There are two ways to fix it.
   - The slave node synchronizes it from the master node.
   
https://github.com/apache/rocketmq/blob/18287f64cf518ff59bc12c2f8a71bda88de750f7/broker/src/main/java/org/apache/rocketmq/broker/slave/SlaveSynchronize.java#L48
   - use mqAdmin to create it in all brokers just like demo:
   
https://github.com/apache/rocketmq/blob/a17fa7605cfbd266e4468e6fe2d6cf6711572111/example/src/main/java/org/apache/rocketmq/example/simple/PopPushConsumer.java#L41
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to