Skip to content

Commit

Permalink
Fix wrongly report "3600 messages have timed-out" (apache#5477)
Browse files Browse the repository at this point in the history
related issue apache#5349
  • Loading branch information
jiazhai authored and codelipenghui committed Oct 28, 2019
1 parent 89e3f30 commit 0936068
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public void run(Timeout t) throws Exception {
try {
ConcurrentOpenHashSet<MessageId> headPartition = timePartitions.removeFirst();
if (!headPartition.isEmpty()) {
log.warn("[{}] {} messages have timed-out", consumerBase, timePartitions.size());
log.warn("[{}] {} messages have timed-out", consumerBase, headPartition.size());
headPartition.forEach(messageId -> {
messageIds.add(messageId);
messageIdPartitionMap.remove(messageId);
Expand Down

0 comments on commit 0936068

Please sign in to comment.