Skip to content

feat: Default Expert central broker when Team Broker is enabled - #991

Merged
andypalmi merged 1 commit into
mainfrom
fix/expert-default-central-broker
Aug 4, 2026
Merged

feat: Default Expert central broker when Team Broker is enabled#991
andypalmi merged 1 commit into
mainfrom
fix/expert-default-central-broker

Conversation

@andypalmi

Copy link
Copy Markdown
Contributor

Description

When the Team Broker is enabled, the Expert chat uses the MQTT bridge, which needs expert.centralBroker.server. Today the chart only emits that key if forge.expert.broker.address is set, so operators have to configure it by hand even though the value is effectively always expert-broker.flowfuse.com:8883.

This defaults centralBroker.server to expert-broker.flowfuse.com:8883 whenever Expert and the Team Broker are both enabled, matching the docker-compose template. Team Broker enabled is exactly the case where the frontend selects MQTT chat and needs the bridge, and the chart already auto-wires the teamBroker.api credentials in that case, so this completes the picture.

Keeping it overridable rather than hardcoded is ease of development and future proofing: the address is expert-broker.flowfuse.com for every hosted deployment today, but could differ later if we allow the central broker to live in a user's own deployment.

Cases

  • Team Broker enabled, no address set -> centralBroker.server: expert-broker.flowfuse.com:8883 (the new default)
  • forge.expert.broker.address / port set -> still respected as an override
  • Team Broker disabled, no address -> nothing emitted, chat uses the HTTP service url
  • Team Broker disabled with an explicit address -> still fails with the existing message pointing at forge.broker.teamBroker.enabled=true

Related

Follow-up from a self-hosted support case where the central broker had to be configured manually. Companion PRs: FlowFuse/docker-compose#360, FlowFuse/website#5485.

When the Team Broker is enabled the Expert chat uses the MQTT bridge,
which requires expert.centralBroker.server. Default it to
expert-broker.flowfuse.com:8883 in that case so it does not have to be
set by hand, matching the docker-compose template. An explicit
forge.expert.broker.address/port still overrides the default, and
setting an address without the Team Broker enabled still fails with the
existing guidance.
@andypalmi
andypalmi requested a review from hardillb August 4, 2026 12:52
@andypalmi andypalmi changed the title Default Expert central broker when Team Broker is enabled feat: Default Expert central broker when Team Broker is enabled Aug 4, 2026
@andypalmi
andypalmi merged commit 70fe5ff into main Aug 4, 2026
10 of 12 checks passed
@andypalmi
andypalmi deleted the fix/expert-default-central-broker branch August 4, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants