coolbeevip commented on issue #511: SCB-1374 support fsm redis channel
URL: https://github.com/apache/servicecomb-pack/pull/511#issuecomment-514938553
 
 
   When Alpha cluster, only one RedisMessageSubscriber should be allowed at the 
same time. Otherwise, it will repeat consumption. 
   
   You can use the following method to determine whether the current node is 
the master node.
   
   ```java
   @Autowride
   NodeStatus nodeStatus;
   
   if(nodeStatus.isMaster()){
     // Is master
   }
   ```

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


With regards,
Apache Git Services

Reply via email to