[ 
https://issues.apache.org/jira/browse/ARTEMIS-2226?focusedWorklogId=191595&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-191595
 ]

ASF GitHub Bot logged work on ARTEMIS-2226:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Jan/19 10:23
            Start Date: 29/Jan/19 10:23
    Worklog Time Spent: 10m 
      Work Description: onlyMIT commented on pull request #2528: ARTEMIS-2226 
last consumer connection should close the previous consu…
URL: https://github.com/apache/activemq-artemis/pull/2528
 
 
   If use MQTT protocol, multiple consumers using the same clientId in the 
cluster, the last consumer connection should close the previous consumer 
connection! 
   There are two solutions to this issue:
   
   > 1. Add a new cluster notification when the client’s connections connect to 
Artemis, close existing connections that use the same clientId when processing 
cluster-notification. This solution is the best way to address the MQTT 
agreement.But I don't think it's necessary to solve this problem by sending a 
cluster-notification every time client connect.
   
   > 2.The solution is this RP used, close existing connections that use the 
same clientId when processing the CONSUMER_CREATE  cluster-notification. No 
additional cluster-notification added. Only when a consumer using the same 
clientId consumes the same topic will it trigger a close connection.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 191595)
            Time Spent: 10m
    Remaining Estimate: 0h

> (MQTT)In the cluster,the last consumer connection should close the previous 
> consumer connection
> -----------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-2226
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2226
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Shiping Liang
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Multiple consumers using the same clientId in the cluster, the last consumer 
> connection should close the previous consumer connection!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to