776 Try for free Menu

TBMQ live demo

Try TBMQ in your browser

A free account on our public broker. Open the TBMQ UI and connect your MQTT clients. No credit card required.

Rather run it yourself? Install on your own servers

Cookie preferences

We use cookies for our own analytics, to see how our campaigns perform and, if you allow it, to load the site search from Google. We never sell your data. Necessary cookies keep the site working and cannot be switched off. See our Cookie Policy for details and our Privacy Policy for how we handle personal data.

Security, load balancing and remembering your cookie choice.

Show us which pages people read, how they find the site and where they get stuck, so we can improve it (Google Analytics).

Remember the campaign or partner link you arrived from, so we know which campaign or partner brought you when you sign up or contact us (partner program). We do not use it to build advertising profiles.

Load the site search from Google when you use it. Google sets its own cookies and shows ads in the search results.

TBMQ Lite · Beta A self-contained MQTT broker

TBMQ Lite is the single-node edition of TBMQ: one process and one data volume, with no Kafka, PostgreSQL or Valkey to run beside it. Built for one machine, the edge, labs and laptops. Public beta.

docker run -d --name tbmq-lite --restart unless-stopped \
  -p 1883:1883 -p 8083:8083 -p 8084:8084 \
  -v tbmq-lite:/data thingsboard/tbmq-lite:2.5.0-beta

TBMQ's MQTT features, without the cluster

Built from the same code as clustered TBMQ: the same MQTT handling, authentication providers, REST API and web UI.

MQTT 3.1MQTT 3.1.1MQTT 5.0
  • Persistent sessions with durable offline queues
  • Retained messages and shared subscriptions
  • Basic, X.509, JWT, SCRAM and HTTP authentication
  • Topic access rules per credential
  • MQTT over TCP and WebSocket, with or without TLS
  • Web UI with a built-in MQTT client, and a REST API
  • Backpressure on publishers and a disk-full guard
  • Built-in backups and pre-upgrade checkpoints
  • Prometheus metrics and a Docker health check
  • Secure defaults: password change, metrics token

TBMQ Lite runs DEVICE clients only and has no integrations. See how it compares with TBMQ.

Single-node MQTT broker architecture

The broker keeps sessions, message queues, retained messages, credentials and settings in an embedded store.

One process

The embedded store replaces Kafka, PostgreSQL and Valkey. There is nothing else to deploy, size or keep running.

One data volume

The store and the pre-upgrade checkpoints live under /data. Remove the container and the data stays on the volume.

Upgrade by recreating the container

Start the new image on the same volume. The broker takes a checkpoint before it upgrades the store.

Sizes itself to the container

The start script reads the container's CPU and memory limits and sets the JVM to match.

Install with Docker

MQTT delivery and durability guarantees

When TBMQ Lite acknowledges a message, and what a crash or a power cut can lose.

When a publish is acknowledged

A QoS 1 or 2 publish is acknowledged once it is handed to online subscribers without a persistent session and the write-ahead log holds a copy for each subscriber with one.

A crash loses nothing acknowledged

An out-of-memory exit or a docker kill loses no acknowledged message. When the broker starts again, persistent sessions pick up their queued messages.

A power cut can lose about a second

The write-ahead log reaches the disk about once a second by default. Syncing on every write closes the window, at a cost in write throughput.

Guarantees and limits

Measured capacity

Container MQTT clients Highest sustained throughput Ack latency, p99
2 CPUs, 2 GB Reference 10,000 9,000 publishers, 1,000 subscribers 15,000 msg/s 7,500 in + 7,500 out 17 ms median 52 ms worst window
1 CPU, 2 GB Best effort 10,000 9,000 publishers, 1,000 subscribers 7,500 msg/s 3,750 in + 3,750 out 24 ms median 28 ms worst window

Persistent subscribers, QoS 1, 402-byte messages, a volume throttled to the AWS gp3 baseline, 10 minutes per rate; latency is the ack p99 of each 10-second window. How it was measured.

TBMQ Lite vs TBMQ: which broker to run

Both are built from the same code. TBMQ Lite is one node; clustered TBMQ adds scale and high availability.

TBMQ Lite TBMQ
Deployment One container Kafka, PostgreSQL and Valkey beside one or more broker nodes
Scaling and failover One node; several containers are independent brokers Horizontal scaling and failover across nodes
Client types DEVICE DEVICE and APPLICATION
Integrations None HTTP, MQTT, Kafka
Throughput Thousands of msg/s Millions of msg/s
License Apache 2.0 Apache 2.0 (Community Edition)

Which one to pick

  • TBMQ Lite

    One machine carries the load, the clients are devices, and you want one thing to run and back up.

  • A single TBMQ node

    For APPLICATION clients, integrations, or a backend that must buffer more than a device queue holds while it is offline.

  • A TBMQ cluster

    For high availability, or more traffic than one node carries.

Full comparison

Start with one command

Run the container, sign in on port 8083 and choose the administrator password, or set it at install on a host others can reach. Public beta: configuration keys and defaults may still change.