From 881f7675060bf889306adf695c65a02da057d8ff Mon Sep 17 00:00:00 2001 From: uglycow Date: Wed, 15 Jan 2020 10:16:50 +0800 Subject: [PATCH] typo fix (#1723) --- .../client/impl/consumer/DefaultLitePullConsumerImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java b/client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java index 8483da6e..8ad7a6b4 100644 --- a/client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java +++ b/client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java @@ -561,8 +561,8 @@ public class DefaultLitePullConsumerImpl implements MQConsumerInner { } public void seekToEnd(MessageQueue messageQueue) throws MQClientException { - long begin = maxOffset(messageQueue); - this.seek(messageQueue, begin); + long end = maxOffset(messageQueue); + this.seek(messageQueue, end); } private long maxOffset(MessageQueue messageQueue) throws MQClientException { -- GitLab