You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
avoid to resend PUBLISH and PUBREL with a timed handler, spec [MQTT-4.4.0-1]
"When a Client reconnects with Clean Start set to 0 and a session is present, both the Client and Server MUST resend any unacknowledged PUBLISH packets (where QoS > 0) and PUBREL packets using their original Packet Identifiers. This is the only circumstance where a Client or Server is REQUIRED to resend messages. Clients and Servers MUST NOT resend messages at any other time." Avoid to pub retries on timeout #697
Manage Will Delay Interval for MQTT5 #767
The Server delays publishing the Client’s Will Message until the Will Delay Interval has passed
or the Session ends, whichever happens first. If a new Network Connection to this Session
is made before the Will Delay Interval has passed, the Server MUST NOT send the Will Message [MQTT-3.1.3-9].
Assigned ClientID: In cases where the ClientID is assigned by the Server, return the assigned ClientID. This also lifts the restriction that Server assigned ClientIDs can only be used with Clean Session=1 connections.
Server reference: Allow the Server to specify an alternate Server to use on CONNACK or DISCONNECT. This can be used as a redirect or to do provisioning.
Maximum Packet Size: Allow the Client and Server to independently specify the maximum packet size they support. It is an error for the session partner to send a larger packet.
Subscription ID: Allow a numeric subscription identifier to be specified on a SUBSCRIBE, and returned on the message when it is delivered. This allows the Client to determine which subscription or subscriptions caused the message to be delivered. Implement Subscription identifier #801
Subscription options: Provide subscription options primarily defined to allow for message bridge applications. These include an option to not send messages originating on this Client (noLocal), and options for handling retained messages on subscribe. Implements Subscription Options #808
Enhanced authentication: Provide a mechanism to enable challenge/response style authentication including mutual authentication. This allows SASL style authentication to be used if supported by both Client and Server, and includes the ability for a Client to re-authenticate within a connection.
This issue is a meta issue to track all the changes that needs to be done in order to support MQTT5 version of the protocol.
Update the Netty to the latest to have full MQTT 5 version protocol support Update Netty from 4.1.77 to 4.1.85 #696
Connection management
PUBLISH
andPUBREL
with a timed handler, spec [MQTT-4.4.0-1]"When a Client reconnects with Clean Start set to 0 and a session is present, both the Client and Server MUST resend any unacknowledged
PUBLISH
packets (where QoS > 0) andPUBREL
packets using their original Packet Identifiers. This is the only circumstance where a Client or Server is REQUIRED to resend messages. Clients and Servers MUST NOT resend messages at any other time." Avoid to pub retries on timeout #697CONNACK
reason strings and reason codes.CONNACK
return also reason string #713cleanSession
tocleanStart
flag andSessionExpiryInterval
property Use session expiry from CONNECT message properties #753 and Uses the expiry interval from connect properties #764The Server delays publishing the Client’s Will Message until the Will Delay Interval has passed
or the Session ends, whichever happens first. If a new Network Connection to this Session
is made before the Will Delay Interval has passed, the Server MUST NOT send the Will Message [MQTT-3.1.3-9].
Subscription
Various aspects
Other secondary features
User properties
to return withCONNACK
.Server reference
inCONNACK
andDISCONNECT
.Useful refs
The text was updated successfully, but these errors were encountered: