# Self Host Sparkplug MQTT Broker

**URL:** <https://forum.inductiveautomation.com/t/self-host-sparkplug-mqtt-broker/97949>\
**Category:** Ignition\
**Created:** [October 30, 2024, 12:06pm UTC](https://forum.inductiveautomation.com/t/self-host-sparkplug-mqtt-broker/97949 "2024-10-30T12:06:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaoliang](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@chaoliang](https://forum.inductiveautomation.com/u/chaoliang)\
**Post date:** [October 30, 2024, 12:06pm UTC](https://forum.inductiveautomation.com/t/self-host-sparkplug-mqtt-broker/97949/1 "2024-10-30T12:06:52Z")

</div>

Is there any open source sparkplug MQTT broker that I can self host?  
I know node red can host a sparkplug broker, but it's running on nodered.  
Just wondering any open source one that I can run on directly docker.

---

<div class="post-metadata">

**Author:** ![justin.brzozoski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justin.brzozoski/32/13452_2.png) [@justin.brzozoski](https://forum.inductiveautomation.com/u/justin.brzozoski)\
**Post date:** [October 30, 2024, 3:24pm UTC](https://forum.inductiveautomation.com/t/self-host-sparkplug-mqtt-broker/97949/2 "2024-10-30T15:24:34Z")

</div>

Sparkplug doesn't require any special features of the MQTT broker. Any broker including mosquitto, HiveMQ, or EMQX will work fine.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 30, 2024, 3:56pm UTC](https://forum.inductiveautomation.com/t/self-host-sparkplug-mqtt-broker/97949/3 "2024-10-30T15:56:24Z")

</div>

Not anything that should be considered special, but it does require QoS 0 and 1, retained messages, and LWT.

At one point in time this made brokers like Amazon IoT Core (or SQS? Can't remember...) unusable, though I'm not sure if that's still true.

In general though yes you should be able to use any MQTT broker that implements MQTT 3.1.1.

---

<div class="post-metadata">

**Author:** ![chaoliang](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@chaoliang](https://forum.inductiveautomation.com/u/chaoliang)\
**Post date:** [October 31, 2024, 7:05am UTC](https://forum.inductiveautomation.com/t/self-host-sparkplug-mqtt-broker/97949/4 "2024-10-31T07:05:08Z")

</div>

thank you both.

I used mosquitto broker for quite a few years, but never know that it can work with sparkplug b MQTT.

I will have a try this week.
