You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@rocketmq.apache.org by "lindzh (JIRA)" <ji...@apache.org> on 2017/04/26 02:28:04 UTC
[jira] [Created] (ROCKETMQ-189) Misleading tip on consumeTimestamp
and wrong consumeTimestamp exception message
lindzh created ROCKETMQ-189:
-------------------------------
Summary: 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
Fix For: 4.1.0-incubating
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)