[
https://issues.apache.org/jira/browse/ARTEMIS-4362?focusedWorklogId=870742&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-870742
]
ASF GitHub Bot logged work on ARTEMIS-4362:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 13/Jul/23 09:47
Start Date: 13/Jul/23 09:47
Worklog Time Spent: 10m
Work Description: clebertsuconic commented on code in PR #4552:
URL: https://github.com/apache/activemq-artemis/pull/4552#discussion_r1262311667
##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.java:
##########
@@ -1584,4 +1584,7 @@ void slowConsumerDetected(String sessionID,
@LogMessage(id = 224126, value = "Failure during protocol handshake on
connection to {} from {}", level = LogMessage.Level.ERROR)
void failureDuringProtocolHandshake(SocketAddress localAddress,
SocketAddress remoteAddress, Throwable e);
+
+ @LogMessage(id = 224127, value = "Queue {}/Address {} is currently
delivering {} messages that are holding {} bytes, with max reading sizes
configured as addressSettings.maxPageReadMessages={} and
addressSettings.maxPageReadBytes={}. System will not read more data from paging
until acks are made. You can increase the address settings page-max-read
attributes or make sure your consumers use lower batch sizes.", level =
LogMessage.Level.WARN)
Review Comment:
What's blocked here is reading from paging. If you close a consumers those
messages will be delivered. But it won't read any more messages until these
are a mesma.
Issue Time Tracking
-------------------
Worklog Id: (was: 870742)
Time Spent: 40m (was: 0.5h)
> Produce a logger when consumers are holding too many messages not allowing
> deposing
> -----------------------------------------------------------------------------------
>
> Key: ARTEMIS-4362
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4362
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Reporter: Clebert Suconic
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
> We should add a log.warn whenever the system can't read more messages because
> consumers are holding too many messages in pending state.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)