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/08/29 07:08:49 UTC

[GitHub] [rocketmq] honglouleiyan opened a new issue #1409: rocketmq tools queryMsgByKey may have bug!

honglouleiyan opened a new issue #1409: rocketmq tools queryMsgByKey may have bug!
URL: https://github.com/apache/rocketmq/issues/1409
 
 
   when I close acl(aclEnable=false), execute the command:sh mqadmin queryMsgByKey -n 127.0.0.1:9876 -t topicH -k 12345678 ,I am able to get the correct result!
   but I open the acl(aclEnable=true),execute the command:sh mqadmin queryMsgByKey -n 127.0.0.1:9876 -t topicH -k 12345678,the error:(Caused by: org.apache.rocketmq.client.exception.MQClientException: CODE: 208  DESC: query message by key finished, but no message.)
   
   The same situation,when use the DefaultMQProducer queryMessage,the java code eg:
   producer.queryMessage("topicH","12345678",60,System.currentTimeMillis()-1000*60*10,System.currentTimeMillis())
   close acl  ,the result is ok!
   but open acl,the error:(CODE: 208  DESC: query message by key finished, but no message.)
   I don't know if I am using the error or the program has a bug.
   
   thanks!
   

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