Open joepavitt opened 1 year ago
See also #738 as a previous Epic that was raised to cover User access to MQTT.
Another FRED customer raised this with me, they went elsewhere and not to FlowForge due to the lack of MQTT
Is the MQTT broker all they were using at FRED, or was it also the Node-RED hosting?
If the latter, curious to know where they went...
We need a clear understanding of what we want to offer here, but with the following assumptions:
This needs a mutli-tenant broker (one that can partition topic space based on user).
I have an experimental plugin for mosquitto (requires development head, not yet released version of mosquitto) that does partitioning based on username sufix e.g. user1@team1 or user1@team2 (https://github.com/hardillb/mosquitto-multi-tenant). This may work for a prototype and may be for small scale on prem deployments, I would like to evaluate some of the more mature offerings for FlowFuse cloud.
We also would need to work out the authentication plug ins required
Does this get easier/harder if we choose to spin up a new broker for Team/Application?
We still have the authentication work to do (and more reason to break that out of the core forge app which has been discussed as part of scaling work)
And then it gets more complicated for docker and even more for localfs.
It also potentially wastes a lot of resource running very lightly or unused brokers.
Also if we run multiple brokers we need to run them all on different ports, where as a single broker is one IP address one port (we can't use the existing load balancers for this as it's not HTTP)
Another question, do we know what FRED used to offer?
HiveMQ have something similar to what I'm expecting by the look of things https://docs.hivemq.com/hivemq-cloud/quick-start-guide.html#cloud-serverless-quick-start
Another question, do we know what FRED used to offer?
Not sure, @ZJvandeWeg was that ever shared with us?
It was a shared broker, much like the one we offer right now on FlowFuse between Node-RED instances but than you could add additional clients.
Notes from internal discussion: https://docs.google.com/document/d/12BueZ6zpUDAgW3bFa2wVB1dgdWeOsCPh4-aL9INj9Rw
Given the progress in #4423 and the technical PoCs built by Ben, we've made the technical decisions required, detailed in the Google Doc linked above.
As such, we now need to move this issue into a Product phase of designing the scope of the offering, pricing, etc. I'll open relevant tasks in order to track the progress on those tasks.
Phased roll out of the development effort is likely to be broken into:
Description
With many customers transferring over from FRED, we have had questions from customers about an equivalent MQTT service in FlowFuse.
Currently, we do not offer a like-for-like solution, and are re-directing customers to https://www.hivemq.com/mqtt-cloud-broker/ as an alternative. Given the traffic coming to FlowFuse from FRED, we should heavily consider offering a like-for-like MQTT service in FlowFuse.
Requested By (Prospects):
Requested By (Customers):