Three types of message are mostly used:
- CONNECT: Used for clients to send connection requests to the broker
- PUBLISH: Used by the client/sender to publish messages to the broker
- SUBSCRIBE: Used by the client/receiver to receive messages from the broker