Questions tagged [moquette]

Moquette aims to be a MQTT compliant broker. It is written in Java.

Moquette aims to be a compliant broker. The broker supports 0, 1, and 2. It is written in .

Its designed to be evented, uses for the encoding and decoding part, the protocol logic is essentially a single threaded and it's isolated from front connectors part by disruptor's ring buffer.

For more information, see the GitHub page.

19 questions
5
votes
2 answers

How to deploy Moquette broker in Android?

Can we deploy a Moquette/Mosquitto broker inside Android for MQTT client communication? I want to deploy a Moquette/Mosquitto broker inside Android and one MQTT client will communicate to another using that broker.
yuvi
  • 79
  • 8
5
votes
1 answer

Maven: Could not resolve dependencies (artifact not found)

I'm trying to build moquette using maven, being a complete newbie to Maven tough. I'm using the following command to build. mvn clean install -U And mvn clean install -U | grep ERROR Results in the following: [ERROR] Failed to execute goal on…
Wouter
  • 652
  • 2
  • 7
  • 27
4
votes
1 answer

AWS Greengrass connect docker container with MQTT broker

Working on a edge case with AWS greengrass we plan to run multiple docker container on the device which shall communicate with each other using MQTT. So far we managed to install and connect greengrass, deploy container and use the interprocess…
3
votes
2 answers

MQTT Paho Client not reconnect automatically to broker on Android Service

I've a Service to manage my MQTT Client connection, the MQTT works fine, but the problem is when I restart Broker Server, the Android client not reconnect. A exception is triggered on onConnectionLost() callback. Notes I'm using Moquette Broker at…
Augusto
  • 3,825
  • 9
  • 45
  • 93
3
votes
1 answer

Offline messages are not consumed in Moquette with Paho Client

I have an issue with respect to consuming offline MQTT messages in Moquette server through eclipse Paho client. Following are the steps which I have followed. Created and spinned up the Moquette MQTT broker. Created a simple MQTT consumer…
gbids
  • 489
  • 1
  • 6
  • 16
2
votes
1 answer

Moquette-Broker with BouncyCastle-TLS

I would like to know if there is a way to configure the Moquette-Broker to setup the TLS-Connection using the BouncyCastle-Library? I need to implement the TLS-Connection-Setup with BouncyCastle because of the different configuration options.
D. Kre
  • 21
  • 1
2
votes
1 answer

publish method of the Paho MqttClient blocking forever

This works well to initiate connection and publish the first message: MemoryPersistence persistence = new MemoryPersistence(); client = new MqttClient("tcp://" + IrisProperties.MQTT_SERVER_ADDRESS, …
Ismail Yavuz
  • 6,727
  • 6
  • 29
  • 50
1
vote
0 answers

Moquette - Broker - Bad user name or password (4)

In my mqtt-source.properties file contains name=mqtt-source connector.class=com.datamountaineer.streamreactor.connect.mqtt.source.MqttSourceConnector tasks.max=1…
Mourish Khan
  • 131
  • 4
1
vote
2 answers

Cluster in MQTT for IoT and Push Notification

I have started reading some details about MQTT protocol and its implementation. I came across the term 'cluster' a lot. Can anyone help me understand what does 'cluster' mean for MQTT protocol? In this comparison of various MQTT protocol, there is a…
fosUffe
  • 13
  • 4
1
vote
0 answers

How to implement 'moquette' broker (MQTT Broker) in android

I found a moquette broker(server) for Android, but unable to make it run in Android App. Can anyone help me in making a Sample App with a client using this broker in Android Studio ? I have downloaded source code from git and added dir 'broker'…
Gaurav
  • 1,965
  • 2
  • 16
  • 32
1
vote
1 answer

Unable to connect to moquette in aws ec2 instance

I am new to MQTT and have been trying to implement MQTT MOquette on AWS EC2, i tried the configuration and installation of broker on my machine and was able to connect and test it from client, however when i do the same from Aws EC2 instance i can…
Kris Droid
  • 49
  • 1
  • 6
1
vote
1 answer

Failed PUBLISH Delivery in QoS1 MQTT

I am using the moquette mqtt broker, and I am trying to understand the implementation as well as the MQTT broker. I hope to make some modifications to the broker for a personal project. I am curious what should happen when a device sends a PUBLISH…
RagHaven
  • 4,156
  • 21
  • 72
  • 113
1
vote
3 answers

GAE: MQTT broker

So I was wondering if it's possible to run a MQTT broker on the Google App Engine platform? Couldn't find any information about it (or maybe I might be using the wrong keywords). I've got my GAE running on Java so I'd like to go into direction of…
Wouter
  • 652
  • 2
  • 7
  • 27
0
votes
0 answers

How can I set QoS in moquette broker?

I am using moquette as my MQTT broker in my project. I want to set QoS as 0, 1 or 2 and want to see the behavior. Is there any possibility that I can set it using moquette.conf ? Following is the moquette.conf file's content : Moquette Java Broker…
mdanish98
  • 65
  • 8
0
votes
1 answer

Android MQTT Client Subscription is not working under API level 26

I'm using Paho's MQTT client on my android application as service. When I try it on API 26 and above it is working without problem but subscribe is not working under that version. mqttClient.subscribe(JOIN_TOPIC, 0).setActionCallback(new…
Hasan Alp Zengin
  • 99
  • 1
  • 1
  • 9
1
2