Skip to content

MQTT Client V5 Implementation (master branch) - #289

Merged
vietj merged 10 commits into
vert-x3:masterfrom
dometec:client_mqtt5_master
Jun 22, 2026
Merged

MQTT Client V5 Implementation (master branch)#289
vietj merged 10 commits into
vert-x3:masterfrom
dometec:client_mqtt5_master

Conversation

@dometec

@dometec dometec commented May 23, 2026

Copy link
Copy Markdown
Contributor

Implementation of MQTTv5 4.x branch ported on master branch.

This included all conversation mark resolved in #269

@ozangunalp ozangunalp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is ok to be merged. We need to resolve the merge conflict but it shouldn't be too hard IMO.

@ozangunalp

Copy link
Copy Markdown
Contributor

Pinging @dometec and @vietj

@vietj

vietj commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

@dometec can you rebase and fix the issue ?

@dometec
dometec force-pushed the client_mqtt5_master branch from 04aabca to 0b6973e Compare June 18, 2026 09:28
@dometec

dometec commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

done, let me check the CI-CD task failure...

@dometec

dometec commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

Waiting for #301

dometec added 10 commits June 22, 2026 10:52
- Manage Publish v5
- Updated MqttEndpointImpl to handle PUBCOMP messages with reason codes.
- Enhance authentication and subscription features
- Modified MqttServerConnection to allow AUTH messages before CONNACK.
- Added support for Wildcard and Shared Subscription properties in MqttConnAckMessage.
- Implemented corresponding methods in MqttConnAckMessageImpl to retrieve new properties.
- Introduced Mqtt5ClientAuthTest to validate enhanced authentication flow.
- Added tests in Mqtt5ClientConnectTest for user properties in CONNECT packets.
- Enhanced Mqtt5ClientDisconnectTest to verify server-initiated DISCONNECT handling.
- Updated Mqtt5ClientPublishTest to check for maximum packet size enforcement.
- Added tests in Mqtt5ClientSubscribeTest for handling of wildcard and shared subscriptions.
- Created Mqtt5ClientWillTest to ensure correct encoding of will message properties.
- Manage Server Redirect
- Manage Subscription Identifier
- Manage TopicAlias from Broker to Client

Breaking Changes:
- Removed willFlag client side (info derived from the presence of willtopic and willpayload, I removed also the new tests)
- Will options serialized as object in json
…n current instance and add validation for QoS
…t-side authentication flow and provide example for SCRAM-SHA-256
…e direct message creation with authenticationExchange method
@dometec
dometec force-pushed the client_mqtt5_master branch from 28bb8b2 to f6dd00f Compare June 22, 2026 08:52
@vietj vietj added this to the 5.2.0 milestone Jun 22, 2026
@vietj
vietj merged commit 7cbd0a1 into vert-x3:master Jun 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants