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 2020/12/17 02:26:37 UTC

[GitHub] [rocketmq] francisoliverlee opened a new issue #1159: resetOffset retry topic fail using console for cpp client

francisoliverlee opened a new issue #1159:
URL: https://github.com/apache/rocketmq/issues/1159


   The issue tracker is **ONLY** used for bug report(feature request need to follow [RIP process](https://github.com/apache/rocketmq/wiki/RocketMQ-Improvement-Proposal)). Keep in mind, please check whether there is an existing same report before your raise a new one.
   
   Alternately (especially if your communication is not a bug report), you can send mail to our [mailing lists](http://rocketmq.apache.org/about/contact/). We welcome any friendly suggestions, bug fixes, collaboration and other improvements.
   
   Please ensure that your bug report is clear and that it is complete. Otherwise, we may be unable to understand it or to reproduce it, either of which would prevent us from fixing the bug. We strongly recommend the report(bug report or feature request) could include some hints as the following:
   
   **BUG REPORT**
   
   1. Please describe the issue you observed:
       
   - What did you do (The steps to reproduce)?
      1. send reset command for retry topic using rmq console
      2. console return success, but no any offset changes
   
   - What did you expect to see?
      offset changed to the time i tell console
   - What did you see instead?
      console return success, but no any offset changes
   
   2. Please tell us about your environment:
       client : cpp
       rmq console: from externals
       os: centos 7.4
   3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
      cpp log: 
   18:54:41.319764](info):topic:%RETRY%ai-high-level-processor, group:ai-high-level-processor, timestamp:1555325640000, isForce:0,isForce:false
   [2019-Apr-15 18:54:41.319815](error):ResetOffsetBody::Decode fail
   [2019-Apr-15 18:54:41.319828](error):resetOffset failed as received data could not be unserialized
   [2019-Apr-15 18:54:41.321733](info):topic:%RETRY%ai-high-level-processor, group:ai-high-level-processor, timestamp:1555325640000, isForce:0,isForce:false
   [2019-Apr-15 18:54:41.321776](error):ResetOffsetBody::Decode fail
   [2019-Apr-15 18:54:41.321789](error):resetOffset failed as received data could not be unserialized
   **FEATURE REQUEST**
   
   
   my analytics:
   my guess:
   from cpp log we can see , cpp can not Decode resetoffset command body from broker. 
   maybe broker send with wrong encoding.
   
   check guess:
   resetoffset command process:
   console (java) -> broker  --> client
   step 1. broker choose java-format to encode resetoffset body
   ![image](https://user-images.githubusercontent.com/5908412/56136501-810fc080-5fc5-11e9-96e7-5080fa64e251.png)
   step 2. cpp decode body with cpp-format, absolutely fail 
   
   
   how-to-fix:
   when console call broker to resetOffset, console must know what client-languages for all-connected-client, so send resetOffset use the RIGHT-LANGUAGE to call broker.
   


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