Close

Log 2: New Release 0.2.0

A project log for ProtoMQ: Type-safe, bandwidth-efficient MQTT.

MQTT + ProtoBuffers + Ziglang. Stop sending bloated JSON over the wire.

gkhan-komarlgökhan koçmarlı 02/28/2026 at 09:510 Comments


Download the new release and comment on your thoughts!

https://github.com/electricalgorithm/protomq/releases/tag/0.2.0

(You'll love the updates! Don't go away, scroll down and read the next paragraph.)


The project got quite an interest on GitHub repository. I don't know if people are using it in their projects, but the stargazer count increased to 23. Compared to other projects I had, it's a quite fast increase in one-month.

What has changed?
This version ships a service discovery feature where clients can ask MQTT what data formats are available for which topic. This feature is a replica of gRPC's service discovery, with a bit translated to a "data format" mentality rather than procedure calls. Furthermore, a new admin server (HTTP server) is designed to add new protobufs to the broker and map them to topics. The server's HTTP API is protected with an auth token and only works on loopback currently to reduce the security risks.

These two features enable my dream of having "no updates" to clients when I want to change my data packet format. They even allow me to build a decoupled system like HomeAssistant, where one end only knows what data formats they can share, and the other end only knows what data formats they can consume.

A Docker file is also added to easily run the server without having Zig download hassle.

What's planned?
I'll continue to develop the project by introducing QoS 1 and 2, possibly MQTT-over-TLS support. I shared the project with several boards to gather feedback from people. Would love to see yours to plan a future roadmap.

Thanks!

Discussions