You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2025/06/03 20:04:00 UTC

[jira] [Resolved] (ARTEMIS-5499) Refactor MQTT subscription persistence

     [ https://issues.apache.org/jira/browse/ARTEMIS-5499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Bertram resolved ARTEMIS-5499.
-------------------------------------
    Fix Version/s: 2.42.0
       Resolution: Fixed

> Refactor MQTT subscription persistence
> --------------------------------------
>
>                 Key: ARTEMIS-5499
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5499
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.42.0
>
>          Time Spent: 4h 40m
>  Remaining Estimate: 0h
>
> The current way the broker persists MQTT subscription data has the potential to starve the broker of threads. It also leads to timeouts like this under load:
> {noformat}
>   java.lang.IllegalStateException: AMQ850000: Unable to store MQTT state within given timeout: 5000ms
> 	at org.apache.activemq.artemis.core.protocol.mqtt.MQTTStateManager.storeSessionState(MQTTStateManager.java:192)
> 	at org.apache.activemq.artemis.core.protocol.mqtt.MQTTSubscriptionManager.addSubscriptions(MQTTSubscriptionManager.java:334){noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact