You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@rocketmq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/07/21 08:53:00 UTC

[jira] [Commented] (ROCKETMQ-248) ConsumeFromWhere does not always work as expected

    [ https://issues.apache.org/jira/browse/ROCKETMQ-248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16095975#comment-16095975 ] 

ASF GitHub Bot commented on ROCKETMQ-248:
-----------------------------------------

GitHub user evthoriz opened a pull request:

    https://github.com/apache/incubator-rocketmq/pull/132

    [ROCKETMQ-248] make ConsumeFromWhere work right

    JIRA: https://issues.apache.org/jira/browse/ROCKETMQ-248

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/evthoriz/incubator-rocketmq develop-my

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-rocketmq/pull/132.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #132
    
----
commit 827ca7584b62cc8b6e5aa5b06b3b3e6fd56c88bc
Author: Kaiyuan Yu <yu...@qiyi.com>
Date:   2017-07-21T08:13:27Z

    make ConsumeFromWhere work right

----


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