Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable interop between Project Nodes and MQTT Broker service #114

Open
3 of 4 tasks
knolleary opened this issue Nov 6, 2024 · 0 comments
Open
3 of 4 tasks

Enable interop between Project Nodes and MQTT Broker service #114

knolleary opened this issue Nov 6, 2024 · 0 comments
Assignees
Labels
epic A significant feature or piece of work that doesn't easily fit into a single release size:L - 5 Sizing estimation point
Milestone

Comments

@knolleary
Copy link
Member

knolleary commented Nov 6, 2024

Description

With the first iteration of the MQTT Broker service, we require users to register MQTT Clients in order to connect to the broker. This is true whether they are connecting from an external device, or a managed Node-RED instance.

Each registered client can only connect once to the broker; they cannot be shared. This makes things awkward when working with the DevOps pipeline; the credentials have to be provided via ENV vars to ensure each instance stage gets its own unique credentials.

The proposal here is to enhance the Project nodes as the way to pub/sub on the broker from within a managed Node-RED instance. The user does not need to worry about connection details - they just plug in topics to use and its done.

I suggest, but open to alternatives, adding a third 'use team broker' option to the node:

image

Above mock up is the Project In node - the Project Out node should be updated to match. The Project Call node does not feature here.

Some requirements:

  • Only show the option if the Team Broker is available to the team - will require additional flag to be passed over instance/device settings and settings updated to include.
  • Update ACL checks for project node connection to permit access to the MQTT Topic space
    • Given we chose to expose ACLs to the clients, we need to define the story here as we don't have a mechanism to grant project nodes ACL access to the shared topic space.

Tasks

Preview Give feedback
@knolleary knolleary added the epic A significant feature or piece of work that doesn't easily fit into a single release label Nov 6, 2024
@knolleary knolleary moved this to In Progress in 🛠 Development Nov 15, 2024
@knolleary knolleary added the size:M - 3 Sizing estimation point label Nov 15, 2024
@knolleary knolleary self-assigned this Nov 15, 2024
@knolleary knolleary added this to the 2.11 milestone Nov 15, 2024
@knolleary knolleary added size:L - 5 Sizing estimation point and removed size:M - 3 Sizing estimation point labels Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic A significant feature or piece of work that doesn't easily fit into a single release size:L - 5 Sizing estimation point
Projects
Status: In Progress
Development

No branches or pull requests

1 participant