> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreflux.org/llms.txt
> Use this file to discover all available pages before exploring further.

# System Connectors

> Configure MQTT bridges and Sparkplug roles with Coreflux System Connectors

## Build the broker topology around your data

System Connectors define how your Coreflux broker participates in a wider MQTT system. Use them to bridge selected topics to another broker, or make Coreflux consume and produce Sparkplug B traffic.

> [!TIP]
>
> **Think of System Connectors as the roads around the broker.** Bridges connect MQTT brokers, and Sparkplug connectors define how industrial MQTT traffic enters and leaves the system.

> [!NOTE]
>
> For **high-availability Coreflux clustering** (multi-node broker failover), see [High-Availability Clustering](https://docs.coreflux.org/v2.22/mqtt-broker/clustering.md) (beta). That feature is broker configuration, not a System Connector.

### When to use System Connectors

Use this category when you need to:

* synchronize topics with another MQTT broker;
* decode Sparkplug B payloads into readable JSON;
* publish as a Sparkplug edge node; or
* make Coreflux the Sparkplug Primary Host Application.

## Choose a System Connector

> [card] [MQTT Bridge](https://docs.coreflux.org/v2.22/lot-language/routes/system/mqtt-bridge.md)
>
> Synchronize selected MQTT topics with another broker.

> [card] [Sparkplug B](https://docs.coreflux.org/v2.22/lot-language/routes/system/sparkplug-b.md)
>
> Decode Sparkplug traffic or publish Coreflux metrics as an edge node.

> [card] [Sparkplug Host](https://docs.coreflux.org/v2.22/lot-language/routes/system/sparkplug-host.md)
>
> Make Coreflux the Primary Host for a Sparkplug namespace.

***

Choose the connector by the role Coreflux needs to play.

## Compare System Connectors

| Connector | Coreflux role | Connects to | Best for |
| - | - | - | - |
| `MQTT_BRIDGE` | MQTT bridge | Another MQTT broker | Topic synchronization and edge-to-cloud links |
| `SPARKPLUG_B` | Decoder and/or edge node | A Sparkplug MQTT namespace | Translating Sparkplug to JSON or publishing Sparkplug telemetry |
| `SPARKPLUG_HOST` | Primary Host Application | Sparkplug edge nodes | Namespace authority, commands, and automatic rebirth requests |

> [!WARNING]
>
> A `SPARKPLUG_HOST` connector and a `SPARKPLUG_B` connector in `DECODE` or `BOTH` mode cannot run together on the same broker. Both consume the complete `spBv1.0/#` namespace. You can combine one Host connector with separate `ENCODE`-only connectors.

***

## Next Steps

> [card] [Choose a Sparkplug role](https://docs.coreflux.org/v2.22/lot-language/routes/system/sparkplug-b.md)
>
> Compare decode, edge-node, and Primary Host responsibilities.

> [card] [High-Availability Clustering](https://docs.coreflux.org/v2.22/mqtt-broker/clustering.md)
>
> Run multiple Coreflux brokers as a fault-tolerant cluster (beta).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.