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
0
votes
0 answers

Latency issue in messages passed through Hive MQTT broker

I have a Hive MQTT server deployed as docker (with 8GB storage) on a CentOS machine. Through a simulator, I am sending 10k messages sequentially on a fixed MQTT topic on this server. It takes 5.37s to send and 9.62s to receive the last message on a…
adtgoel
  • 31
  • 3
0
votes
1 answer

How does persistence session work in MQTT?

I use MQTT with QOS 1. I have a consumer and a producer. They communicate with each other (HiveMQ as a client). They use VerneMQ as a broker. I use a persistence session. If a consumer is offline and he goes later online, he should become all…
JetBrains
  • 456
  • 2
  • 6
  • 18
0
votes
1 answer

HiveMQ exception fired after airplane mode, Session expired as connection was closed

I've implemented HiveMQ inside a background thread with success, but there is a little issue after activate airplane mode on. The log shows the reason but I think there is something missing and I can't see where is the missing error handler. The…
AXSM
  • 1,142
  • 1
  • 12
  • 27
0
votes
1 answer

HiveMQ Prometheus extension NoClassDefFoundError. Can't start extension

I'm running the hivemq mqtt broker community edition and wanted to add the prometheus extension for monitoring. Both come precompiled from the hivemq marketplace and the github project page. I download both components as a zip file, unzip them and…
JWo
  • 650
  • 1
  • 6
  • 23
0
votes
1 answer

How to get the QoS of a client in HiveMQ Client?

I'm working with HiveMQ Client and I wanted to know if there was a way to get the quality of service (QoS) that a client is subscribing with (in terms of a specific topic or in general)? I would be looking for a method I could invoke on a client…
Chigozie A.
  • 335
  • 4
  • 16
0
votes
0 answers

Opensource Auto scaling for HiveMQ Broker

I am trying to configure Highly scalable HiveMQ broker(commercial edition) on ubuntu. I have 3 servers: server A, server B and Server C. On Server A Ha-proxy is configured For Load balancing. On server B mosquito broker is configured. On server C…
0
votes
1 answer

How to properly use a SSL configuration in HiveMQ Client? (MQTT)

I created a client to test using a secure connection and encrypted payload so I wanted to use the default SSL configuration. I tried to do this but I got a ConnectionClosedException and the server immediately closely. Should I be configuring…
Chigozie A.
  • 335
  • 4
  • 16
0
votes
1 answer

How to properly use wait() and notify() in Java? (HiveMQ Client)

I've writing a program using HiveMQ Client (an MQTT Open source implementation in Java) that involves using two multithreaded clients. One client is designated as the publisher and the other as the subscriber (I'm aware I could the same client can…
Chigozie A.
  • 335
  • 4
  • 16
0
votes
1 answer

How to receive multiple messages in HiveMQ Client? (MQTT)

I'm trying to figure out how to receive multiple messages in HiveMQ Client using the same try catch block even using different clients. I followed this example:…
Chigozie A.
  • 335
  • 4
  • 16
0
votes
1 answer

How to get client connection information in HiveMQ Client? (MQTT)

I'm writing a main class that will create a few clients and test them subscribing and publishing. I'd like to display information of the clients connection, like the data & time connected, clientId, clientIP used to connect, whether they connected…
Chigozie A.
  • 335
  • 4
  • 16
0
votes
1 answer

SSL/TLS for Web UI in HiveMQ

I am trying to enable ssl connection for Web UI of HiveMQ 3.4.2 on CentOS. I have changed the config.xml file like this
Nnm
  • 1
0
votes
2 answers

HiveMQ shared subscriptions using M2Mqtt

If subscriber has topic as $share/group/my_topic, it doesn't receive any messages, but if I change the topic to /my_topic - everything works just fine. It seems that M2Mqtt doesn't support shared subscriptions. Is there a workaround for this? I also…
tsvedas
  • 1,049
  • 7
  • 18
0
votes
2 answers

MQTT Retained messages not received when subscribing same topic from different applications at the same time

TL;DR When subscribing to the same topic tree with multiple clients at the same time, not all clients receive the retained messages as expected! in detail / use case In a real project several applications subscribe (nearly at the same time because…
FrVaBe
  • 47,963
  • 16
  • 124
  • 157
0
votes
0 answers

how to use M2mqtt libraby for certification in c#?

Hi I am using M2Mqtt C# library and I want to connect to the hive MQ broker via security. Hive MQ is ssl enabled, I edited the config.xml to use the java Key store(.jks) for enabling ssl. I am using self signed certificates. I have got certificates…
Anil Gadiyar
  • 399
  • 1
  • 2
  • 16
0
votes
1 answer

HiveMQ systemctl service not listening to port

I am trying to set up HiveMQ on my Amazon EC2 instance (ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-20170414) using this guide: http://www.hivemq.com/docs/hivemq/latest/#hivemqdocs_installation_for_specific_operating_systems After…
Kjempen
  • 15
  • 4