Questions tagged [emq]

EMQ (EMQX) is a distributed, massively scalable, highly extensible MQTT message broker written in Erlang/OTP.

Official Resources

69 questions
0
votes
1 answer

Why is EMQX Persistence not working on azure kubernetes when it is working on local kubernetes?

When using kubernetes(minikube) statefulset on local machine, EMQX Rules are persisting because same pod IP is being assigned to the emqx node, for example /opt/emqx/data/mnesia/emqx@172.17.0.9. Even if I delete the pod when the new pod starts, it…
0
votes
2 answers

Why does my subscription to the public MQTT broker receive no messages but my own?

I'm playing with the MQTT broker at 'broker.emqx.io' and have subscribed clients to the topic '/python/mqtt', which is the default topic in a Github repository containing an example client implementation in Python. My subscribing client is receiving…
Tom Russell
  • 1,015
  • 2
  • 10
  • 29
0
votes
1 answer

EMQX Benchmarking Issue

Is it possible to test the WebSocket connection test for 100k users on single node? If yes, how? I am wondering how the 1 million connection test per node was carried out as claimed on EMQX official site. If the port limit of OS itself is 65536
0
votes
1 answer

Rollback Feature in MQTT Broker after message received from Broker

I have a Situation once message received from MQTT Broker, During processing the data , assume that DB is down and not completed the task. In that particular situation Data that received has to sent back to Broker that my task is not completed I…
Guna ..
  • 3
  • 1
0
votes
1 answer

emqttd not getting all messages in same topic when subscriber application is down

Only receiving last retained message when subscriber application restarted. OS: Windows EMQ Broker version : 2.3.10 Eclipse paho When I am publishing 10 messages on same topic, during that time for some reason subscriber application crashed, after…
Guna ..
  • 3
  • 1
0
votes
1 answer

Is there a Pub Sub service where publishers only send messages to a given topic if there are subscribers?

I'm looking for a scalable pub sub cluster where it's possible that publishers only send messages for a given topic to socketcluster if there are subscribers? The reason being is that all of my publishers process millions of messages for many topics…
0
votes
2 answers

Trying to setup my MQTT cloud service for my IoT project utilizing Open Source MQTT Broker EMQ

I am developing an application to control fan smartly. The smart fan control circuitry comprises Node MCU. There will be two modes of fan control, smart and auto. In the smart mode, the fan's speed could be changed from the predicted value obtained…
Mafaz Ahsan
  • 105
  • 2
  • 11
0
votes
1 answer

How can i configurate the emqtt`s max packet size

I send the large data (about 50MB),And i add the mqtt.max_packet_size value as 6400KB ,But still report below error info .from https://docs.emqx.io/docs/broker/v3/cn/config.html#mqtt it shows that this value as mqtt.max_packet_size = 1MB, I am not…
James
  • 85
  • 8
0
votes
1 answer

Subscribe to subscription updates in emqx

Background: I have a microservice implemented in C++ with REST and WebSocket API and pub / sub functionality. Now I need to support MQTT, and things get more complicated because my microservice must keep track of active subscriptions for scalability…
benjist
  • 2,740
  • 3
  • 31
  • 58
0
votes
1 answer

Route mqtt and websocket traffic through apache2

I have a emqx broker setup on Ubuntu EC2. When I try to connect to emqx through websocket with IP address, it works fine. But when I use subdomain, the connection fails. My Apache Config is ServerName…
Bharat Chhabra
  • 1,686
  • 2
  • 14
  • 20
0
votes
1 answer

EQMX not started as a service

Fedora 31. EMQX does not start as a service. It starts successfully from the console. ===== ===== LOGGING STARTED Wed Apr 8 13:12:55 +05 2020 ===== Exec: /usr/lib/emqx/erts-10.5/bin/erlexec -boot /usr/lib/emqx/releases/v4.0.5/emqx -mode embedded…
0
votes
1 answer

enable local cache on emqx

I see the documentation on https://docs.emqx.io/broker/v3/en/guide.html#emq-x-bridge-cache-configuration and it says that you can enable the cache on file if the network fails because emqx now is not doing this stuff. When i set, for example the…
0
votes
2 answers

Message lost in paho-mqtt

I am using paho-mqtt to receive data from emqx broker but I am losing data because sometimes my paho-mqtt subscriber goes down. Any method to get data when I will run subscriber again it will give all published data.
Vaibhav Mishra
  • 227
  • 2
  • 11
0
votes
2 answers

EMQX configuration to allow anonymous internal connection

I am using emqx as mqtt broker for my sensor network. Here is my desired configuration. I want to allow two different listeners for internal and external connections. Listener 1 External: 0.0.0.0:8883 Do not allow anonymous…
Rahul
  • 442
  • 6
  • 17
0
votes
1 answer

EMQx Mqtt Broker WSS web socket connection failed , I am using Letsencrypt SSL Certbot

OS: ubuntu 16.04 my emqx.conf file listener.wss.external.certfile = /etc/letsencrypt/live/mydomainname.com/cert.pem listener.wss.external.cacertfile = /etc/letsencrypt/live/mydomainname.com/chain.pem listener.wss.external.verify =…
Siddarth
  • 3
  • 3