🚨 AtomicJar is now part of Docker 🐋! Read the blog

Documentation

Python

Description

Eclipse Mosquitto is an open source message broker which implements MQTT version 5, 3.1.1 and 3.1.

Examples

Dependency:
pip install testcontainers[mqtt]
Usage:
with MosquittoContainer(image = "eclipse-mosquitto:2.0.20") as mosquitto_broker:
    mqtt_client = mosquitto_broker.get_client()