mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
Mention the path of DLQ to indicate DLQ if full for which pipeline
Fixes #11280
This commit is contained in:
parent
9197bf221f
commit
d65ef8edb6
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ public final class DeadLetterQueueWriter implements Closeable {
|
|||
byte[] record = entry.serialize();
|
||||
int eventPayloadSize = RECORD_HEADER_SIZE + record.length;
|
||||
if (currentQueueSize.longValue() + eventPayloadSize > maxQueueSize) {
|
||||
logger.error("cannot write event to DLQ: reached maxQueueSize of " + maxQueueSize);
|
||||
logger.error("cannot write event to DLQ(path: " + this.queuePath + "): reached maxQueueSize of " + maxQueueSize);
|
||||
return;
|
||||
} else if (currentWriter.getPosition() + eventPayloadSize > maxSegmentSize) {
|
||||
currentWriter.close();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue