Updates the project nodes to use a shared subscription where appropriate to enable HA support.
All subscriptions (except link call response topic) now uses a shared subscription. The group id of the share is set to the project id.
The link call response topic now includes a randomly generated (per-node) string appended to res-. For this to work, that string is also passed in the messageEvent property of the published message. That allows the returning node to reconstruct the appropriate topic to send the reply to.
Description
Updates the project nodes to use a shared subscription where appropriate to enable HA support.
All subscriptions (except link call response topic) now uses a shared subscription. The group id of the share is set to the project id.
The link call response topic now includes a randomly generated (per-node) string appended to
res-
. For this to work, that string is also passed in themessageEvent
property of the published message. That allows the returning node to reconstruct the appropriate topic to send the reply to.This all requires a FlowForge platform instance that includes https://github.com/flowforge/flowforge/pull/2225
This feature should be published with a major version bump to ensure existing installs of FF do not pick this change up.