Skip to content

Commit 7ac6b21

Browse files
committed
Mention in docs that org.eclipse.paho.client.mqttv3 is optional
1 parent 1814910 commit 7ac6b21

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/reference/antora/modules/ROOT/pages/mqtt.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ compile "org.springframework.integration:spring-integration-mqtt:{project-versio
2727
======
2828

2929
The current implementation uses the https://www.eclipse.org/paho/[Eclipse Paho MQTT Client] library.
30+
Starting with version 6.5, the `org.eclipse.paho:org.eclipse.paho.client.mqttv3` dependency is an `optional` dependency, so has to be included explicitly in the target project for MQTT v3 support.
3031

3132
IMPORTANT: The XML configuration and most of this chapter are about MQTT v3.1 protocol support and respective Paho Client.
3233
See xref:mqtt.adoc#mqtt-v5[MQTT v5 Support] paragraph for respective protocol support.

src/reference/antora/modules/ROOT/pages/whats-new.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,10 @@ See xref:message-store.adoc#use-lock-registry[Use LockRegistry] for more informa
4444

4545
The `SourcePollingChannelAdapter` endpoint now starts a `CONSUMER` kind observation for the received message.
4646
The `MessageReceiverContext` now distinguishes between `handler`, `message-source` and `message-producer` values for the `spring.integration.type` low cardinality tag.
47-
See xref:metrics.adoc#micrometer-observation[Micrometer Observation] for more information.
47+
See xref:metrics.adoc#micrometer-observation[Micrometer Observation] for more information.
48+
49+
[[x6.4-mqtt-changes]]
50+
== Optional Paho MQTT Dependencies
51+
52+
The `org.eclipse.paho:org.eclipse.paho.client.mqttv3` dependency for `spring-integration-mqtt` is now also optional as `org.eclipse.paho:org.eclipse.paho.mqttv5.client` always was.
53+
See xref:mqtt.adoc[MQTT Support] for more information.

0 commit comments

Comments
 (0)