Registry / messaging / hivemq-mqtt-client

hivemq-mqtt-client

JSON →
library1.3.13javamavenunverified

HiveMQ MQTT Client is an MQTT 5.0 and MQTT 3.1.1 compatible high-performance Java client library.

<dependency> <groupId>com.hivemq</groupId> <artifactId>hivemq-mqtt-client</artifactId> <version>1.3.13</version> </dependency>
INSTALL
IMPORT
SIG · HIVEMQ-MQTT-CLIENT
H
hivemq-mqtt-client
messagingjavav1.3.13
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MqttClient
com.hivemq.client.mqtt.MqttClient

Connect to an MQTT broker and publish a message

import com.hivemq.client.mqtt.MqttClient; public class Example { public static void main(String[] args) { MqttClient client = MqttClient.builder() .serverHost("broker.hivemq.com") .buildBlocking(); client.connect(); client.publishWith() .topic("test/topic") .payload("Hello".getBytes()) .send(); client.disconnect(); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.13latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
OpenAI (training)
1
Resources
hivemq-mqtt-client — mvn dependency:get hivemq-mqtt-client · libregistry