[
https://issues.apache.org/jira/browse/ROCKETMQ-248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16101302#comment-16101302
]
Jaskey Lam commented on ROCKETMQ-248:
-------------------------------------
Indeed, it will not work when the queue is newly created. This is to issue the
problem that when grabing a brand new queue fof one single client instance , if
it is a new queue, insist on consuming from the last may skip some messages.
As far as I am concerned, this is the only scene which may not be working as
expected, while this scene should be treated very carefully.
> ConsumeFromWhere does not always work as expected
> -------------------------------------------------
>
> Key: ROCKETMQ-248
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-248
> Project: Apache RocketMQ
> Issue Type: Improvement
> Components: rocketmq-broker, rocketmq-client
> Affects Versions: 4.0.0-incubating, 4.1.0-incubating
> Reporter: Yu Kaiyuan
> Assignee: yukon
>
> As a *brand new subscription*, consumer will be allowed to decide where to
> start the consumption. And the options includes:
> * CONSUME_FROM_LAST_OFFSET
> * CONSUME_FROM_FIRST_OFFSET
> * CONSUME_FROM_TIMESTAMP
> But the fact is the option: `CONSUME_FROM_LAST_OFFSET` does not always work
> as expected. Even if the subscription is new, the consumer still might
> consume from the first message.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)