StyleTang edited a comment on issue #24:
URL: 
https://github.com/apache/rocketmq-dashboard/issues/24#issuecomment-931255948


   Thanks for your request but we may not add this feature.
   Message tags is designed for message filter [Message 
filtering](https://partners-intl.aliyun.com/help/doc-detail/29543.htm)
   If you want to query message by index, you should use `key` but not `tag` (a 
message can contains multiple keys)
   ```java
   Message msg = new Message("TopicTest",
       "TagA",
       "Hello world".getBytes(RemotingHelper.DEFAULT_CHARSET));
   msg.setKeys(Arrays.asList("key1","key2"));   // you by query by both key1 
and key2
   SendResult sendResult = producer.send(msg);
   ```
   
   Hope this solves your problem.


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