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
12
votes
3 answers

why and when i need mqtt broker for IOT/M2M application

Just asking one silly question, hope someone can answer this. I'm bit confused regarding MQTT broker. Basically, the confusion is, there are so many things being used for data storing, transfer and processing (like Flume, HDInsight, Spark etc). So,…
bapi
  • 1,903
  • 10
  • 34
  • 59
10
votes
1 answer

Max MQTT connections

I have a need to create a server farm that can handle 5+ million connections, 5+ million topics (one per client), process 300k messages/sec. I tried to see what various message brokers were capable so I am currently using two RHEL EC2 instances…
redboy
  • 599
  • 1
  • 8
  • 18
5
votes
1 answer

how to add Paho-MQTT to android studio

I am trying to use Paho-MQTT in android studio. I referred to this link and I should add the following to gradle files the link demands adding the following: repositories { maven { url…
Amrmsmb
  • 1
  • 27
  • 104
  • 226
3
votes
1 answer

Subscribing MQTT topics with wildcards

I have a MQTT client that wants to subscribe to the following topics node1/data/updates node1/data/delta node1/data Of course I have multiple nodes, so I have to use wildcards as explained here:…
Florian Hansen
  • 746
  • 7
  • 19
3
votes
2 answers

How to connect to Mqtt3AsyncClient using HiveMq-mqtt library?

I have been trying to implement mqtt using hivemq in my Android app. Though I have used the same specs and configuration from their docs, I am still unable to establish a successful connection. I was able to use paho for mqtt earlier, but it doesn't…
satya phani
  • 45
  • 1
  • 6
3
votes
1 answer

HiveMQ shared subscription with persistent session

Trying out to combine two features of HiveMQ: shared subscriptions and persistent sessions. If have created a very simple message producer. And a very simple consumer. When running multiple consumers, all consumers receive all messages. After…
Joost den Boer
  • 4,556
  • 4
  • 25
  • 39
2
votes
0 answers

Arduino/ESP32 can't connect to to MQTT broker

I'm working on getting my ESP32 board (also Arduino R3 & Nano) to connect to a HiveMQ broker, but it will not connect. I've tried various ports, different brokers, disabling ad blocking on my network, etc., but nothing seems to make a…
Dan Champagne
  • 890
  • 2
  • 17
  • 37
2
votes
0 answers

How to configure HiveMQ client serverHost, serverPort & sslConfig for SSL connect to port 8883?

Having read some docs and all examples I could find, I do not see a very simple example of connecting by SSL to 8883. It was very simple to create the HiveMQ client on Android to connect to the broker at mosquito.org, port 1883. But using…
Scott Lohr
  • 74
  • 7
2
votes
2 answers

MQTTnet Connection Issue with HiveMQ Cloud

I am new to the MQTT world and I am trying to create a .Net 5.0 application that connects to a HiveMQ Cloud Broker. I have created a free broker and I am able to connect to it with HiveMQ Websocket Client. Here is a screenshot of my host. I have…
A. Hasemeyer
  • 1,452
  • 1
  • 18
  • 47
2
votes
1 answer

HiveMQ MQTT client: subscribe to multiple topics

I'm trying to subscribe to multiple topics using HiveMQ client. This page suggests that the MQTT subscribe message can carry multiple subscriptions. I tried this code but it only subscribes to the last topic (Topic2 in this example) val mqttClient:…
Jordi
  • 2,055
  • 1
  • 16
  • 34
2
votes
2 answers

Docker pull from different source for different architecture

I have a Dockerfile that pulls FROM hivemq/hivemq-ce. This works well on "standard" platforms but not on the Raspberry Pi. So I built the image for arm64 myself directly on the RasPi following the tutorial in the official HiveMQ repo and pushed it…
Fred
  • 1,103
  • 2
  • 14
  • 35
2
votes
1 answer

MQTT wildcard subscriptions, backpressure and QOS

This is more of a generic question, however it might be handled differently in different clients or protocol versions or possibly even server versions. So I'm talking QOS level 2 subscription here. In which case packets are handled in order. And…
2
votes
1 answer

How does MQTT handle publishers simultaneously publishing to the same topic at the same time?

Imagine I have 3 publishers, A,B and C. Publisher A sends messages FOO, BAZ, SOMETHING to SOME/TOPIC Publisher B sends messages FOO, SOMETHING to SOME/TOPIC Publisher C sends no messages to SOME/TOPIC What messages would a subscriber to SOME/TOPIC…
Fachtna Simi
  • 437
  • 2
  • 13
2
votes
1 answer

Why does HAProxy close the connection to the HiveMQ MQTT client at the end of the TLS handshake?

I'm trying to establish a TLS connection to a MQTT broker behind a HAProxy instance. At the end of the handshake (TLS 1.2 application data was sent), the server unexpectedly closes the connection. I'm using self-signed certificates in form of a…
MacPatric
  • 21
  • 4
2
votes
1 answer

HiveMQ MQTT Client - Resubscribe topics on automatic reconnect

I am using the HiveMQ MQTT client in Spring to receive MQTT messages. My client configuration looks like this public Mqtt3AsyncClient mqtt3Client() { var mqtt3Client = Mqtt3Client.builder() .serverHost("my.host") …
Florian Hansen
  • 746
  • 7
  • 19
1
2 3
10 11