Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
7812011
MTM-64360 Initial outline of MQTT Pulsar doc
scmi-c8y Aug 18, 2025
846a3c8
Apply suggestions from code review
scmi-c8y Aug 19, 2025
9bd6163
MTM-64360 WIP on intro and connecting sections
scmi-c8y Aug 20, 2025
9ad0756
MTM-64360 WIP payloads and properties section
scmi-c8y Aug 22, 2025
712bf23
MTM-64360 WIP consuming messages section
scmi-c8y Aug 22, 2025
f6ce777
MTM-64360 WIP publishing messages section
scmi-c8y Sep 1, 2025
ca46ba5
MTM-64360 Typo
scmi-c8y Sep 1, 2025
273570a
MTM-64360 Align snippets with the working example
scmi-c8y Sep 1, 2025
81bfebe
MTM-64360 WIP quotas, limits, best practices
scmi-c8y Sep 3, 2025
16d313c
MTM-64360 Use the final agreed property names
scmi-c8y Sep 3, 2025
bd27352
MTM-64360 Minor cleanup
scmi-c8y Sep 3, 2025
1241acd
MTM-64360 Mention the example client
scmi-c8y Sep 5, 2025
beaee50
MTM-64360 Mention device isolation in the intro
scmi-c8y Sep 9, 2025
68a87cb
MTM-64360 Use the Pulsar docs for pub/sub intro
scmi-c8y Sep 9, 2025
ad109ee
Apply suggestions from code review
scmi-c8y Sep 9, 2025
aca9027
MTM-64360 Add a lovely diagram
scmi-c8y Sep 9, 2025
0661f8e
Merge branch 'develop' into feature/MTM-64360/mqtt-service-pulsar-client
scmi-c8y Sep 9, 2025
ec2d20e
MTM-64360 Alt text for image
scmi-c8y Sep 9, 2025
7e1bba5
MTM-64361 Add a change log entry
scmi-c8y Sep 15, 2025
7b189f5
MTM-64360 Clarify handling of clientID property
scmi-c8y Sep 15, 2025
1c6edf9
MTM-64360 More clarification of property handling
scmi-c8y Sep 17, 2025
a537706
MTM-64360 More clarifications and warnings
scmi-c8y Sep 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
date: 2025-10-02
title: MQTT Service Java client SDK is replaced by direct Messaging Service connections
change_type:
- value: change-pXAlHAWka
label: Preview
product_area: Platform services
component:
- value: component-LcWEQW5gs
label: MQTT
build_artifact:
- value: tc-hc5Tfixeqqei
label: mqtt-service
issue: MTM-64302
---

{{< c8y-admon-caution >}}
This change only affects the new {{< product-c8y-iot >}} [MQTT Service](/device-integration/mqtt-service/) capability.

The existing {{< product-c8y-iot >}} [Core MQTT](/device-integration/mqtt/) capability is **not** affected.
{{< /c8y-admon-caution >}}

{{< c8y-admon-preview >}}
This feature is in Public Preview and may be subject to change in the future.
{{< /c8y-admon-preview >}}

As [previously announced](/change-logs/#mqtt-service-0.9.6-device-isolation-api-change), when the {{< product-c8y-iot >}} [MQTT Service](/device-integration/mqtt-service/) transitions from Public Preview to General Availability (GA), the MQTT Service [Java client SDK](/device-integration/mqtt-service/#java-client) will no longer be supported.
Instead, microservices and external applications (_clients_) that need to exchange messages with MQTT devices connected to the MQTT Service will connect directly to the {{< product-c8y-iot >}} Messaging Service using the [Apache Pulsar](https://pulsar.apache.org/) client protocol.
Direct Messaging Service connectivity for MQTT Service clients is now available as part of the MQTT Service Public Preview.

All microservice and external application clients currently using the MQTT Service Java client SDK should migrate to the Pulsar client protocol as soon as possible.
Detailed [documentation](/device-integration/mqtt-service/#pulsar-client) of the requirements, conventions and best practices for connecting Pulsar clients to the Messaging Service is available, along with [example code for an external client](https://github.com/Cumulocity-IoT/cumulocity-examples/tree/develop/mqtt-service/simple-pulsae-client).
Further examples will be published before the MQTT Service GA date.

#### Impact on clients using the MQTT Service Java client SDK

The MQTT Service Java client SDK is deprecated but will remain available and supported until the MQTT Service GA date.
Clients can continue to use the Java client SDK in parallel with direct connections to the Messaging Service until then.
MQTT messages published by connected devices will be delivered to both Java client SDK clients and directly connected clients.
Messages published to an MQTT topic by either type of client will be delivered to connected devices that are subscribed to that topic, subject to device-level isolation constraints.
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
---
weight: 30
weight: 31
layout: redirect
title: Java Client
---

{{< c8y-admon-caution >}}
The MQTT Service Java SDK is deprecated and should not be used for new development.
It will be replaced by direct connections to the {{< product-c8y-iot >}} Messaging Service.

See [Connecting microservices and applications](/device-integration/mqtt-service/#pulsar-client) for more information.
{{< /c8y-admon-caution >}}

The MQTT Service Java Client library provides the classes necessary to interact with the MQTT Service.
The following operations are supported by the client:
* Publishing messages to the MQTT Service via a WebSocket protocol.
Expand Down
Loading