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/06/06 03:39:18 UTC
[jira] [Commented] (ROCKETMQ-189) Misleading tip on
consumeTimestamp and wrong consumeTimestamp exception message
[ https://issues.apache.org/jira/browse/ROCKETMQ-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16038056#comment-16038056 ]
ASF GitHub Bot commented on ROCKETMQ-189:
-----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/incubator-rocketmq/pull/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)