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

ASF subversion and git services commented on ROCKETMQ-189:
----------------------------------------------------------

Commit 99ce40a72382dd5b7ecb5eb5717b8daf84a90682 in incubator-rocketmq's branch 
refs/heads/develop from [~lindzh]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-rocketmq.git;h=99ce40a ]

[ROCKETMQ-189] Misleading tip on consumeTimestamp and wrong consumeTimestamp 
exception message closes apache/incubator-rocketmq#97


> Misleading tip on consumeTimestamp and wrong consumeTimestamp exception 
> message
> -------------------------------------------------------------------------------
>
>                 Key: ROCKETMQ-189
>                 URL: https://issues.apache.org/jira/browse/ROCKETMQ-189
>             Project: Apache RocketMQ
>          Issue Type: Bug
>          Components: rocketmq-client
>    Affects Versions: 4.0.0-incubating
>         Environment: macos,jdk8
>            Reporter: lindzh
>            Assignee: Xiaorui Wang
>              Labels: easyfix
>             Fix For: 4.1.0-incubating
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> When I want to consume message,I use the following code,
> {quote}
> consumer.setConsumeFromWhere(ConsumeFromWhere.CONSUME_FROM_FIRST_OFFSET);
> consumer.setConsumeTimestamp("2017_0422_235500");
> {quote}
> and I got the tip as following:
> {quote}
> Exception in thread "main" 
> org.apache.rocketmq.client.exception.MQClientException: consumeTimestamp is 
> invalid, YYYY_MMDD_HHMMSS
> See http://rocketmq.apache.org/docs/faq/ for further details.
>       at 
> org.apache.rocketmq.client.impl.consumer.DefaultMQPushConsumerImpl.checkConfig(DefaultMQPushConsumerImpl.java:661)
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to