[
https://issues.apache.org/jira/browse/ARTEMIS-4200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Clebert Suconic closed ARTEMIS-4200.
------------------------------------
> Allow configuring link-stealing behavior for MQTT
> -------------------------------------------------
>
> Key: ARTEMIS-4200
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4200
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Reporter: Justin Bertram
> Assignee: Justin Bertram
> Priority: Major
> Fix For: 2.29.0
>
>
> The MQTT specifications define a behavior often referred to as "link
> stealing." This means that whenever a new client connects with the same
> client ID as another existing client then the existing client's session will
> be closed and its network connection will be terminated.
> In certain use-cases this behavior is not desired so it is configurable. The
> URL parameter {{allowLinkStealing}} can be configured on the MQTT
> {{acceptor}} to modify this behavior. By default {{allowLinkStealing}} is
> {{true}}. If it is set to {{false}} then whenever a new client connects with
> the same client ID as another existing client then the _new_ client's session
> will be closed and its network connection will be terminated. In the case of
> MQTT 5 clients they will receive a disconnect reason code of [{{0x80}} (i.e.
> "Unspecified
> error")|https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901208].
--
This message was sent by Atlassian Jira
(v8.20.10#820010)