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
1 answer

export messages published to a broker using prometheus

I have this components that publishes messages to a broker I want to export the same message to prometheus public class ModuleAMessagePublisher { @Inject @InternalBroker private MessagePublisher messagePublisher; public void…
R0b0t0
  • 390
  • 6
  • 20
0
votes
0 answers

Esp8266 cannot connect to MQTT network with WiFiClientSecure setCaCert?

I'm working on an IoT project. I use Hivemq as an mqqt service. He's connected to Mosquitto on the server. I could normally connect to MQTT without certification locally. When he switched to Globale, that is, when he used hivemq, mosquitto asked for…
0
votes
1 answer

need help client.loop_forever() error in python (mqtt-paho)

this is my code, it connects, does 1 publish and then reads the messages that come up in my localhost server. import time import paho.mqtt.client as paho broker="localhost" def on_message(client, userdata, message): time.sleep(1) …
displayer
  • 1
  • 4
0
votes
1 answer

HiveMQ cannot start

I tried to start hivemq by moving to the bin folder and with command ./run.sh , but I receive this message ERROR - An error occurred while opening the retained_messages persistence. Is another HiveMQ instance running? So I thought HiveMQ was already…
Deffo
  • 191
  • 1
  • 8
  • 21
0
votes
2 answers

How to connect to HiveMQ broker with Paho C library

I created a hiveMQ cluster in the HiveMq cloud and created a username and password. From Paho C library I created MQTTClient_connectOptions and put my username and password as parameters: #define ADDRESS "myURL:8883" // broker address for use…
Shahriar.M
  • 818
  • 1
  • 11
  • 24
0
votes
1 answer

How to make a hivemq plugin that checks websocket origin?

I want to make a service which used by third party website, their users connect to my hivemq server using websocket, I want to just allow these authorized website users to connect to my broker. So I want to write a hivemq plugin to check the…
蔡中文
  • 27
  • 4
0
votes
1 answer

Does MQTT protocol support database?

As we know MQTT have using subscribe/publish method. May i know what platform user can save the database using MQTT protocol. Its hivemq or mosquito support database so i can see previous data recorded from the sensor? If MQTT can support database.…
0
votes
3 answers

HiveMQ MQTT Client Java: Is there a way to check if a topic matches a subscription?

Is there a built in way to check with hivemq-mqtt-client if a specific topic matches another topic in advance? For instance, a message published with topic: publishedTopic= "sensors/sensor1"; A client that subscribes: subscribedTopic =…
Michi
  • 487
  • 5
  • 20
0
votes
2 answers

How to avoid subscribing to the same topic and fire the callback multiple times in HiveMQ Android Client?

Expected behavior I want to have a callback to listen to every topic I subscribe to just once per message sent. I mean, I want to subscribe to a topic 1000 times, but when a message is received, I want to listen to it just one time. IDK if there is…
Deneb Chorny
  • 391
  • 3
  • 19
0
votes
1 answer

HiveMQ MQTT Websocket - can't subscribe to sub topics

I have a code that subscribes whatever user inputs in a form to an MQTT broker. Everything works fine, the data get published and show in the broker. However, I can't subscribe to sub topics. Here is the MQTT part of the code:
Ma'alin
  • 11
  • 1
0
votes
2 answers

How to enable parallel consuming/processing of subscribed topics/messages with HiveMQ mqtt client

we are currently switching form an older version of Eclipe Paho MQTT Client to Version 1.2 of HiveMQ MQTT Client. https://github.com/hivemq/hivemq-mqtt-client Currently playing around with the Aync- version of the client which needs a Consumer…
JohnM
  • 3
  • 1
0
votes
1 answer

Connection to Google IoT with Hive MQTT client instead of Paho

I have working code similar to this connecting to google IoT with the paho client. Since I am in a spring boot reactive application, I would like to use Hive MQTT Client, but I can't find the right setup, I keep having the following error message …
Raphaël Lemaire
  • 1,269
  • 1
  • 13
  • 23
0
votes
1 answer

Not able to publish message from Hivemq M2Mqtt C# client to Google Cloud IoT

I have configured a Google Cloud IoT project and successfully published the "Hello, World" message from google cloud IoT console Topics page. I am able to view the received message also. Now, while trying to run the below code on Visual Studio C#…
Abhijit
  • 1
  • 1
0
votes
2 answers

Connect to hivemq broker through MQTT

In my app.js: var mqtt = require('mqtt') var client = mqtt.connect('mqtt://localhost:1883') topic = 'testTopic' client.on('connect', ()=> { client.subscribe(topic) }) client.on('message', function (topic, message) { …
0
votes
2 answers

HIVEMQ-KAFKA extension

I copied the folder of HIVEMQ-KAFKA extension to the HIVEMQ extension folder but it is giving me this error: WARN - Extension hivemq-kafka-extension cannot be loaded. The extension signature could not be read. The signature of an enterprise…
Aleena Rehman
  • 161
  • 1
  • 9