Skip to content

Commit cc7e530

Browse files
committed
updated deprecation message
1 parent 61ea7e7 commit cc7e530

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

src/main/java/software/amazon/awssdk/crt/mqtt/MqttClient.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
import software.amazon.awssdk.crt.io.TlsContext;
1212

1313
/**
14-
* <p><b>Deprecated.</b> Use {@link software.amazon.awssdk.crt.mqtt5.Mqtt5Client} instead.</p>
15-
*
16-
* <p>The MQTT 3.1.1 client remains fully supported, but migrating to
17-
* MQTT 5 gives you a richer feature set, clearer error handling, and
18-
* improved lifetime management.</p>
14+
* <p><b>Deprecated.</b> We strongly recommend using {@link software.amazon.awssdk.crt.mqtt5.Mqtt5Client}.</p>
15+
*
16+
* <p>There are no current plans to fully deprecate the MQTT 3.1.1 client but it is highly recommended
17+
* customers migrate to the MQTT5 client to access a more robust feature set, clearer error handling,
18+
* and lifetime management. More details can be found in the GitHub Repo FAQ</p>
1919
*
2020
* This class wraps aws-c-mqtt to provide the basic MQTT pub/sub functionalities
2121
* via the AWS Common Runtime

src/main/java/software/amazon/awssdk/crt/mqtt/MqttClientConnection.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
import java.util.function.Consumer;
2323

2424
/**
25-
* <p><b>Deprecated.</b> Use {@link software.amazon.awssdk.crt.mqtt5.Mqtt5Client} instead.</p>
26-
*
27-
* <p>The MQTT 3.1.1 client remains fully supported, but migrating to
28-
* MQTT 5 gives you a richer feature set, clearer error handling, and
29-
* improved lifetime management.</p>
25+
* <p><b>Deprecated.</b> We strongly recommend using {@link software.amazon.awssdk.crt.mqtt5.Mqtt5Client}.</p>
26+
*
27+
* <p>There are no current plans to fully deprecate the MQTT 3.1.1 client but it is highly recommended
28+
* customers migrate to the MQTT5 client to access a more robust feature set, clearer error handling,
29+
* and lifetime management. More details can be found in the GitHub Repo FAQ</p>
3030
*
3131
* This class wraps aws-c-mqtt to provide the basic MQTT pub/sub functionality
3232
* via the AWS Common Runtime

0 commit comments

Comments
 (0)