-
Type:
New Feature
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 5
-
Fix Version/s: None
-
Component/s: core
-
Labels:None
This was discussed in MQTT-276 (with notes from the F2F meetings) and has been tracked in MQTT-256 (Metadata).
I'm opening a separate, specific issue per Ken's comments - https://issues.oasis-open.org/browse/MQTT-256?focusedCommentId=62192&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-62192:
"All of these would be defined in separate JIRAs, but what we should do in this JIRA is to define the mechanism used to pass these values."
We now have added 'reason strings' which can accompany any of the acknowledgements, and any of these strings could exceed the maximum packet size, which means just about anything can break.
What I worry about is this. Suppose you have 1 million clients, and a programming error results in an oversize message getting sent to them all (say somebody decides to serialize a 'network timeout' exception call stack into an 'reason string'. ) We really want to prevent 1 million clients going into a reconnect/retry cycle.