Mosquitto v2 Notes

Mosquitto v2 was a big upgrade from v 1. The v1 track is still being maintained and is currently at v 1.6.12.

The blog has a quick overview of the important changes and I recommend you take a look here

However important ones to note are:

By default it requires authentication and doesn’t listen on a network address.

The following simple configuration file will make mosquitto start like previous versions:

listener 1883
allow_anonymous true

This also affects usage when starting the broker using the port number e.g

mosquitto -p 1884

This will no longer work like before and so you need to use a configuration file. There is currently no command line switch to overcome this.

Please rate? And use Comments to let me know more