Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Doubt regarding multiple bubscription

Hi James,

Reopening this thread because I was able to reproduce the duplicate message scenario. For fresh connect there are no duplicate message. But for every subsequent connect, the number of duplicates increase.

- This is exactly similar to the behaviour reporter here and here.
- I was able to reproduce this in the sample app - org.eclipse.paho.android.sample

I'm actually confused about couple of things -
- In the above link, it says the issue has been resolved. (Thanks for that by the way :) ) but the target milestone is set as 1.2.0
- At the same time, new but similar bug has been marked under 1.3.0 milestone.

If you could throw some light here, it'll be helpful.

Cheers,

Rajeef




On Tue, 10 Jan 2017 at 19:34 Muhammed Rajeef M K <rajeefmk@xxxxxxxxx> wrote:
Thanks James.

On Tue, 10 Jan 2017 at 19:15 James Sutton1 <james.sutton@xxxxxxxxxx> wrote:
Hi Rajeef,
 
If a server receives a Subscribe packet with a topic identical to an existing subscription for that client, it will replace it: http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/csprd02/mqtt-v3.1.1-csprd02.html#_Toc385349803
 
Kind regards,
 
James Sutton
Software Engineer - IoT Foundation - MQTT Open Source Projects
Ops Team - Wimbledon Project

Phone: 01962 815438 | Extension: x372454
E-mail: james.sutton@xxxxxxxxxx
Personal Website: www.jsutton.co.uk
Find me on:      
IBM

Hursley Park
HursleySO212JN
United Kingdom
 
IBM United Kingdom Limited Registered in England and Wales with number 741598 Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
 
 
----- Original message -----
From: Muhammed Rajeef M K <rajeefmk@xxxxxxxxx>
Sent by: paho-dev-bounces@xxxxxxxxxxx
To: General development discussions for paho project <paho-dev@xxxxxxxxxxx>
Cc:
Subject: [paho-dev] Doubt regarding multiple bubscription
Date: Tue, Jan 10, 2017 1:35 PM
 
Hi,
 
What would happen if subscribe was called to the same topic multiple times by the same client ? ( clean session : false, clientId is persisted)
 
Would the client receive duplicate events from the topic ?
 
Cheers,
 
Rajeef
_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev
 
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev

Back to the top