OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

mqtt message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (MQTT-253) Subscription identification


    [ https://issues.oasis-open.org/browse/MQTT-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59238#comment-59238 ] 

Raphael Cohen edited comment on MQTT-253 at 3/23/15 4:57 PM:
-------------------------------------------------------------

I like the idea, and would ordinarily be in favour, as it eliminates the ambiguity of overlapping subscriptions, but I think it creates complexities for simpler clients. Here are my observations:-

- How would a client that is automatically subscribed on connection know how to unsubscribe? It wouldn't know the subscription ids
- How would a client that can't persist durable state know on a subsequent connection what its subscription ids are?
- Imagine a simpler C client on an embedded device which uses #define constants for topic filters. It now needs writable flash space to store this state data, and so makes the programmer's job harder

Overall, I worry that this is too invasive a change to be made now to the protocol.


was (Author: raphcohn):
I like the idea, and would ordinarily be in favour, as it eliminates the ambiguity of overlapping subscriptions, but I think it creates complexities for simpler clients. Here are my observations:-

- How would a client that is automatically subscribed on connection know how to unsubscribe? It wouldn't know the subscription ids
- How would a client that can't persist durable state know on a subsequent connection what its subscription ids are?
- Imagine a simpler C client on an embedded device which uses #define constants for topic filters. It now needs writable flash space to store this state data, and so makes the programmer's job harder

> Subscription identification
> ---------------------------
>
>                 Key: MQTT-253
>                 URL: https://issues.oasis-open.org/browse/MQTT-253
>             Project: OASIS Message Queuing Telemetry Transport (MQTT) TC
>          Issue Type: New Feature
>          Components: futures
>    Affects Versions: 3.1.1
>            Reporter: Andrew Schofield
>
> Subscribe and unsubscribe operations are performed on topic filters in MQTT 3.1.1. Adding subscription identifiers would enable unambiguous identification of subscriptions.



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]