generated from micronaut-projects/micronaut-project-template
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add links to guides for Micronaut MQTT (#353)
- Loading branch information
Showing
1 changed file
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
To add support for MQTT to an existing project, you must first add either the <<hiveMq, Micronaut MQTT HiveMQ dependency>> or the Micronaut MQTT Eclipse Paho <<v3dependency, v3>> or <<v5dependency, v5>> (depending on the version of MQTT you require) to your build. | ||
|
||
IMPORTANT: If you are running into the exception `org.eclipse.paho.client.mqttv3.MqttException: Timed out waiting for a response from the server`, please make sure to run your program on a machine with *more than one core*. The Eclipse Paho MQTT client will run into connection timeouts if it has only one core available. | ||
|
||
|
||
TIP: See the guide for https://guides.micronaut.io/latest/tag-mqtt.html[Publishing and Subscribing to MQTT Topics from a Micronaut Application] to learn more. |