Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] [paho-dev] Java MQTT broker

Hi Andrea!

We've started to discuss this over the on the Paho mailing list, and we're really excited about the possibility of you joining us. Maybe we could include a Java broker implementation as part of the mosquitto project. 

As Ian says, there are some legal things to consider here around use of third party libraries and licenses, and your own decision to potentially re-license moquette under EPL. Nothing that cannot be worked through, if you would like to join us.

One of the interesting things about having a Java broker would be the possibility of making use of OSGi technology and fitting in with the Eclipse ecosystem. Any thoughts on that?

Andy


On Tue, Jan 21, 2014 at 2:44 PM, Ian Craggs <icraggs@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
Andrea,

thanks for the information.  It's not a problem how much time you have available to work on it, I was asking more for information. Many great projects have been completed in "spare" time!

I assume that the 3rd party libraries are open source and are licensed in a way that Eclipse will find acceptable.  But that would be reviewed by Eclipse legal as part of the contribution process.

Isn't a JAAS interface the obvious way to implement authentication and authorization?

A key advantage of a Java broker over one implemented in C would be the way it could integrate into the Eclipse workbench.  That is something I would be keen to make sure works well.

Ian


On 20/01/14 20:01, Andrea Selva wrote:
Hi Ian,

moquette is is MQTT 3.1 compliant, but ha some part to be developer
better, for example it need a better implementation of QoS 1-2
messages handling. Moquette lacks an authentication mechanism (by now
there is just a dummy interface to be extended) but I expect to
introduce a plug system based on java's ServiceLocator APIs. Moquette
lacks also a mechanism to manage and monitor it (I'm thinking to
create some JMX stuff) and completely miss a configuration system (no
conf directory to fill with properties or xml files); so I expect to
be quite behind of Mosquitto.

  Also Moquette hasn't any documentation on google code, an area that
should be improved a lot.

On the architectural side, Moquette has a front Netty parsing library
that push MQTT decoded messages in a LMAX's magic ring buffer, the
protocol logic pulls out event from this queue and process them in
single threaded fashion ( a single thread event processor), than use
another ring buffer on the back to send out the MQTT messages (always
using Netty).

By now there is only me involved in the development, and usually I try
to handle the development in the evening or during spare weekends, I
know is not so much.

Ask me any question, I'll try to give you answers.

Best regards

   Andrea Selva

On Mon, Jan 20, 2014 at 12:42 PM, Ian Craggs
<icraggs@xxxxxxxxxxxxxxxxxxxx.uk> wrote:
Hi Andrea,

thanks for your input, there certainly is a chance!

Can you summarize what functions are implemented in moquette at the moment,
and what you think is left to do (in comparison to Mosquitto for instance)?
Is there some documentation to look at?

It would be cool, although not essential, if each of the brokers were
configured in a similar way.  How is moquette configured?

Are there any developers other than you?   How much time do you think you
would be able to spend on maintaining and improving it, if it were in
Eclipse?

Thanks.

Ian Craggs


On 18/01/14 11:26, Andrea Selva wrote:
Hi mosquitto list,
I'm Andrea Selva the moquette broker's developer and lately (thanks to
Kai Kreuzer) I've seen that there is a chance that the M2M is
eventually interested in accepting the moquette broker as a starting
implementation of a Paho Java broker. That, for me, sounds great!! I'm
available to discuss this topic.

Best regards

    Andrea Selva
_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mosquitto-dev


_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mosquitto-dev



--
Andy Piper | Kingston upon Thames, London (UK)
blog: http://andypiper.co.uk   |   skype: andypiperuk
twitter: @andypiper  |  images: http://www.flickr.com/photos/andypiper

Back to the top