From dev-return-69096-archive-asf-public=cust-asf.ponee.io@activemq.apache.org Fri Jan 18 09:08:11 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 4CD87180663 for ; Fri, 18 Jan 2019 09:08:11 +0100 (CET) Received: (qmail 67409 invoked by uid 500); 18 Jan 2019 08:08:10 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 67398 invoked by uid 99); 18 Jan 2019 08:08:10 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jan 2019 08:08:10 +0000 From: GitBox To: dev@activemq.apache.org Subject: =?utf-8?q?=5BGitHub=5D_onlyMIT_removed_a_comment_on_issue_=232466=3A_ARTE?= =?utf-8?q?MIS-2206_The_MQTT_consumer_reconnection_caused_the_queue_to_not?= =?utf-8?q?_be_cle=E2=80=A6?= Message-ID: <154779888960.8669.1720319804336275049.gitbox@gitbox.apache.org> Date: Fri, 18 Jan 2019 08:08:09 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit onlyMIT removed a comment on issue #2466: ARTEMIS-2206 The MQTT consumer reconnection caused the queue to not be cle… URL: https://github.com/apache/activemq-artemis/pull/2466#issuecomment-455244484 @michaelandrepearce @jbertram I think my RP failures in `org.apache.activemq.artemis.tests.integration.mqtt.imported.MqttClusterRemoteSubscribeTest` is caused by another issue. The issue is when in the cluster two consumers using the same clientId, subscribe to the same topic **on different nodes**,MQTT consumers start to consume messages using ANYCAST routing。 But two consumers using the same clientId, subscribe to the same topic **on the same node**,the latter consumer connection will cause the former consumer connection to be forcibly closed, Only one consumer will consume the message。 I think that ANYCAST routing should not be triggered if the same clientId is used to subscribe to the same topic in different nodes.this will export using different keys(use addressName as key or use "clientId+'.'+addressName" as key) to store `Binding` As described in [ARTEMIS-2226](https://issues.apache.org/jira/browse/ARTEMIS-2226) . Now I am not sure whether i use this RP to address the issue as above, or create a new RP. ---------------------------------------------------------------- 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: users@infra.apache.org With regards, Apache Git Services