amberamberer commented on issue #1268: How to connect broker using AK and SK?
URL: https://github.com/apache/rocketmq/issues/1268#issuecomment-502657990
 
 
   > 1. DefaultMQProducer producer = new DefaultMQProducer("GID-xxx", new 
AclClientRPCHook(new SessionCredentials(ACL_ACCESS_KEY,ACL_SECRET_KEY)));
   > 2. DefaultMQPushConsumer consumer = new DefaultMQPushConsumer("GID-xxx", 
new AclClientRPCHook(new SessionCredentials(ACL_ACCESS_KEY,ACL_SECRET_KEY)), 
new AllocateMessageQueueAveragely());
   > 
   > Hope it may help you.
   Thx!
   

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