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

No topics are captured in the Broker Hierarchy for brokers that deny subscription to # #5300

Open
Steve-Mcl opened this issue Mar 11, 2025 · 1 comment
Labels
bug Something isn't working size:M - 3 Sizing estimation point
Milestone

Comments

@Steve-Mcl
Copy link
Contributor

Current Behavior

Some Brokers do not permit subscribing to # and therefore the Broker Hierarchy never gets populated with any topics

In particular, EMQX (by default), Azure IoT Hub, AWS IoT Core and many others do not permit subscribing to #

Expected Behavior

We may wish to include a topic filter on the broker configuration.
We may also want to consider

  • an admin setting that allows/prevents a min top level topic (to avoid hammering the DB if/when someone subscribes to a public broker)
  • a deny list to prevent public brokers being added to as a BYOB entry?

Steps To Reproduce

Try adding an emqx broker (that by default does NOT return anything on #) - no topics are populated.

Environment

  • FlowFuse version: FFC Current
  • Node.js version:
  • npm version:
  • Platform/OS:
  • Browser:

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

@Steve-Mcl Steve-Mcl added bug Something isn't working needs-triage Needs looking at to decide what to do labels Mar 11, 2025
@joepavitt
Copy link
Contributor

Will scope this to adding a config option in the Broker settings to define the top-level scope that you wish to subscribe to for traffic, defaulting to # (for now)

@joepavitt joepavitt added this to the 2.16 milestone Mar 12, 2025
@joepavitt joepavitt added size:M - 3 Sizing estimation point and removed needs-triage Needs looking at to decide what to do labels Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size:M - 3 Sizing estimation point
Projects
Status: No status
Development

No branches or pull requests

2 participants