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/01/26 04:07:11 UTC

[GitHub] githublaohu opened a new issue #81: decodeMessageId mistake about act

githublaohu opened a new issue #81: decodeMessageId mistake about act
URL: https://github.com/apache/rocketmq-client-cpp/issues/81
 
 
   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   - What did you do (The steps to reproduce)?
   MQDecoder::createMessageId != MQDecoder::decodeMessageId
   
   - What did you expect to see?
   MQDecoder::createMessageId == MQDecoder::decodeMessageId
   
   - What did you see instead?
   `string msgIdStr = MQDecoder::createMessageId(rocketmq::IPPort2socketAddress(inet_addr("127.0.0.1"), 10091),(int64) 1024);
   MQMessageId msgId = MQDecoder::decodeMessageId(msgIdStr);
   EXPECT_EQ(msgId.getOffset(), 1024);
   `
   
   2. Please tell us about your environment:
   
    - What is your OS?
   ubuntu 18.04
   
    - What is your client version?
   
   
    - What is your RocketMQ version?
   RocketMQ 4.4
   
   3. Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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