These tutorials target Micronaut Framework 3. Read, Guides for Micronaut Framework 4.

Messaging

Publishing and subscribing to MQTT Topics from a Micronaut Application

Learn how to use Mosquitto as an MQTT broker, create a Micronaut CLI application and publish an MQTT topic, and subscribe to the MQTT topic in a different Micronaut Messaging application.

JavaKotlinGroovy
Gradle ReadReadRead
Maven ReadReadRead