Skip to content

Commit

Permalink
Merge acfe875 into ce4478a
Browse files Browse the repository at this point in the history
  • Loading branch information
KangZhiDong committed Aug 31, 2019
2 parents ce4478a + acfe875 commit 31d259d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/en/Configuration_Client.md
Expand Up @@ -25,7 +25,7 @@ export NAMESRV_ADDR=192.168.0.1:9876;192.168.0.2:9876
```
- HTTP static server addressing(default)

After client started, it will access a http static server address, as: <http://jmenv.tbsite.net:8080/rocketmq/nsaddr>, this URL return the following contents:
After client started, it will access an http static server address, as: <http://jmenv.tbsite.net:8080/rocketmq/nsaddr>, this URL return the following contents:

```text
192.168.0.1:9876;192.168.0.2:9876
Expand Down
Expand Up @@ -73,7 +73,7 @@ long nextPullOffset(MessageQueue remoteQueue) {
pullOffsetTable.putIfAbsent(remoteQueue,
rocketmqPullConsumer.fetchConsumeOffset(remoteQueue, false));
} catch (MQClientException e) {
log.error("A error occurred in fetch consume offset process.", e);
log.error("An error occurred in fetch consume offset process.", e);
}
}
return pullOffsetTable.get(remoteQueue);
Expand Down Expand Up @@ -124,7 +124,7 @@ void ack(final String messageId) {
try {
rocketmqPullConsumer.updateConsumeOffset(consumeRequest.getMessageQueue(), offset);
} catch (MQClientException e) {
log.error("A error occurred in update consume offset process.", e);
log.error("An error occurred in update consume offset process.", e);
}
}
}
Expand All @@ -135,7 +135,7 @@ void ack(final MessageQueue messageQueue, final ProcessQueue processQueue, final
try {
rocketmqPullConsumer.updateConsumeOffset(messageQueue, offset);
} catch (MQClientException e) {
log.error("A error occurred in update consume offset process.", e);
log.error("An error occurred in update consume offset process.", e);
}
}

Expand Down
Expand Up @@ -167,7 +167,7 @@ public void doPullTask(final MessageQueue mq, final PullTaskContext context) {
}
localMessageCache.updatePullOffset(mq, pullResult.getNextBeginOffset());
} catch (Exception e) {
log.error("A error occurred in pull message process.", e);
log.error("An error occurred in pull message process.", e);
}
}
});
Expand Down

0 comments on commit 31d259d

Please sign in to comment.