Questions tagged [hivemq]

HiveMQ is an enterprise MQTT broker for M2M and IoT. Built for scalability, easy management, and security, it seamlessly integrates with existing systems. With HiveMQ, organizations can confidently manage their M2M and IoT communications.

HiveMQ is a MQTT broker designed for enterprises in the age of Machine-to-Machine communication (M2M) and the Internet of Things (IoT).

The latest LTS version is HiveMQ 4.9.5, released on 2023-03-07. Homepage at http://www.hivemq.com/.

163 questions
2
votes
1 answer

How to get the cipher suite being used in HiveMQ Client?

I configured the HiveMQ server to recognize TLS and created a TLS communication. I'd like to print out the cipher suites being used. I've used the getSslConfig() but I end up getting this as an output:…
Chigozie A.
  • 335
  • 4
  • 16
2
votes
1 answer

How to print all topics in HiveMQ Client? (MQTT)

Is there a way to print all of the topics that the HiveMQ broker has stored? I'd like to print out all topics that clients are connected to for testing purposes in a main class in HiveMQ Client. I've left links for the HiveMQ Client and Community…
Chigozie A.
  • 335
  • 4
  • 16
2
votes
1 answer

HiveMQ Java Blocking Client Subscriber is not consuming any message

I am using HiveMQ Java client to connect to HiveMQ broker. The Blocking Client Subscriber is not consuming any messages. With MQTTBox publishing and subscribing is working fine. Here is the code . I am following HiveMQ Java Client…
2
votes
1 answer

The ESP8266 is not connecting to MQTT broker hivemq

I have a simple code in which I am trying to connect to HiveMQ open broker and subscribe to a topic to listen to incoming messages. here is the code #include #include const char *ssid = …
Nauman Shakir
  • 135
  • 1
  • 3
  • 15
2
votes
1 answer

MQTT with paho on android, only receiving first message

I'm using MQTT with paho to receive and publish messages on android. I have the following code for my MQTT initialization. private void initializeMQTT(){ try{ mqttClient = new MqttClient( "tcp://broker.hivemq.com:1883", …
lhbortho
  • 167
  • 2
  • 16
2
votes
2 answers

Is it possible to send a message to the future?

Is there a best practice for publishing scheduled/delayed messages with MQTT, for example, using Mosquitto or HiveMQ brokers? The use case is: Tell a subscriber to perform some maintenance in 15 minutes. Optimally, the use case would be then solved…
augustzf
  • 2,385
  • 1
  • 16
  • 22
2
votes
1 answer

Is it possible to disconnect old mqtt connection with same client Id in server side if new connection is came with same client Id?

I'm using ActiveMQ 5.11.1 which is configured with mqtt over websocket. Is it possible to disconnect old mqtt connection with same client Id in server side if new connection is came with same client Id? When I tried this scenario by using hivemq…
john
  • 2,054
  • 4
  • 20
  • 25
2
votes
1 answer

HiveMQ Authentication Plugiin with 3rd party library dependency

I am developing a Authentication plugin for HiveMQ broker. I am able to integrate & bring the plugin up & running. No issue so far. however, I have few dependency on 3rd party jars (used by the plugin itself). How I can add them to the classpath so…
param83
  • 453
  • 2
  • 6
  • 17
2
votes
1 answer

HiveMQ RESTful Authentication Plugin

I am in the process of interfacing to a RESTful API for a proprietary server running internal to my organization. We are using HiveMQ and I have created a simple plugin based on the incredibly useful documentation over at the HiveMQ website. I have…
Adam H
  • 118
  • 6
1
vote
2 answers

Mqtt Last Will & Testament (LWT) message - issues with the timing of the LWT message

I have a Windows Service running on multiple boxes, and publishing messages to the HiveMq Mqtt Broker. Good so far. However, I noticed that when I manually STOP one of those Win Services - my browser Mqtt client IMMEDIATELY gets the last Last Will…
bob.mazzo
  • 5,183
  • 23
  • 80
  • 149
1
vote
2 answers

HiveMQ/RabbitMQ as load balancing MQTT node(s) before Thingsboard IoT system

Our endpoint devices are pushing data over MQTT to an IoT system based on the Thingsboard IoT platform. There is only one MQTT topic called /telemetry where all devices connect. The server knows which device the data belongs to based on the device's…
devaskim
  • 492
  • 3
  • 10
1
vote
1 answer

Issues connecting to HiveMQ MQTT broker via ESP8266

I am trying to connect to a HiveMQ MQTT broker with an ESP8266 but it keeps failing to connect. I am not super well versed in MQTT protocol so I'm not really sure if I've configured everything right but here's how I have it setup: HiveMQ broker is…
1
vote
1 answer

Hivemq Cloud - Persistent Session and Queuing Messages java vs android

I have a question / problem about Persistent Session and Queuing Messages. Here is the scenario: I have a publisher (java server) which is publish message and I have a receiver (android client). When android client it online it gets the messages…
Hasan Mumin
  • 23
  • 1
  • 4
1
vote
0 answers

Is it possible to partition a MQTT topic with wildcard?

Is it possible to partition a MQTT topic defined with a wildcard? In short, I am trying to figure out if I can implement a subscriber that will scale without the need to redistribute messages. Here is what I mean. Let's say that I have a MQTT…
1
vote
0 answers

Connecting MQTT client to MQTT broker using SSL server certificate

I am trying to connect a MQTT client to hivemq mqtt broker using .pem file using the hivemq MQTT cli. I tried several commands according to the documentation but have not been able to connect yet and don't really know what could be the issue. Any…
Hawra Saif
  • 49
  • 6
1
2
3
10 11