GitHub user lindzh opened a pull request: https://github.com/apache/incubator-rocketmq/pull/97
fix consumeTimestamp and wrong consumeTimestamp exception message When I want to consume message,I use the following code, ``` consumer.setConsumeFromWhere(ConsumeFromWhere.CONSUME_FROM_FIRST_OFFSET); consumer.setConsumeTimestamp("2017_0422_235500"); ``` and I got the tip, ``` 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) ``` The right answer is yyyyMMddHHmmss but the response is YYYY_MMDD_HHMMSS,I think the tip is misleading our judgments. You can merge this pull request into a Git repository by running: $ git pull https://github.com/lindzh/incubator-rocketmq fix_consume_time Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-rocketmq/pull/97.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 #97 ---- commit 9acd59f89c730630d844c6f35c137ac60be7ac16 Author: dezhi.ldz <dezhi....@alibaba-inc.com> Date: 2017-04-24T11:35:36Z fix consumeTimestamp and wrong consumeTimestamp exception message ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---