Switch to v5 mqtt protocol in commsClient configuration#7603
Conversation
|
@hardillb, if you dont mind, I will tag you as reviewer after I have done some tests on pre-staging. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7603 +/- ##
=======================================
Coverage 76.95% 76.95%
=======================================
Files 411 411
Lines 21094 21094
Branches 5141 5141
=======================================
Hits 16233 16233
Misses 4861 4861
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@hardillb I have tested project nodes, ff-mqtt nodes & device editor/device restart/logs on the pre-staging - all working as expected. Ready for review. |
Why would changing which MQTT sub protocol version the Forge app UI connects to the broker impact the ff-mqtt nodes, project-nodes? They never talk to each other? |
Fair point, i didnt dig down to which of client connections are involved in which messages paths - for the sake of time, I just checked everything I know touches MQTT across the platform. |
|
@hardillb to be clear, this connection is not ui - it is the forge app client connection (so logs, platform status/sync and device comms) are handled by this one. |
|
@Steve-Mcl OK, the forge app shouldn't care either |
Indeed! 👍 And as overcheck (for my piece of mind) I did lots of local + pre-staging testing |
Description
Updated the MQTT client initialisation in
commsClient.jsto explicitly setprotocolVersion: 5, ensuring the client uses MQTT version 5 for communication.Amongst other improvements, this gives us:
Related Issue(s)
Checklist
flowforge.yml?FlowFuse/helmto update ConfigMap TemplateFlowFuse/CloudProjectto update values for Staging/ProductionLabels
area:migrationlabel