What is a connection? A connection is an active TCP connection from your application/device to the Mosquitto broker. If two devices connected to the broker, they will consume two connections.