Uploaded image for project: 'Apache RocketMQ'
  1. Apache RocketMQ
  2. ROCKETMQ-105

Implementation of consumerOffset and maxOffset are counter-intuitive

    XMLWordPrintableJSON

Details

    Description

      This issue does not affect any functionalites, but it indeed is a problem for user to understand the principle of RocketMQ.

      • ConsumerOffset:

      User might consider `ConsumerOffset` is the offset where consumer has consumed. for example if CG1 have a consumer offset 100 of topicA-q1, I may propabaly consider message with offset 100 has been cosumed. But actully, it is not. The message with offset 100 is the next target offset to pull from.

      • Max Offset

      User might consider this is the offset of the latest message in a queue. But it is not, it is indicating that next offset when new message arrived.

      ----------------------------------------------------------------------------------------------------

      If possible , any of the below two things should be taken into consideration

      1. the implementation should be changed to be closer to presentative judgment of human

      2. rename the concept to clarify how it really implemented.

      Attachments

        Activity

          People

            yukon Xinyu Zhou
            Jaskey Jaskey Lam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: