Introduction


In this article, I’ll share my journey of implementing an MQTT 5.0 client in Go.
We’ll cover protocol fundamentals, connection and session management, and, of course, publishing and receiving messages to and from a broker.

Why build an MQTT client when libraries like Paho already exist? Because I enjoy writing clients, it’s a...