Is there a good mqtt client library for Elixir? Getting a bit disillusioned, none of the options seem very good.
GitHub - gausby/tortoise: A MQTT Client written in Elixir - initially seemed very good. Particularly with the rewrite mqtt-5 support - which I suspect is in the mqtt-5 branch. But has numerous bugs, particularly when mqtt server goes down (pub requests can hang - hanging my application) or if trying to dynamically subscribe to topics at run-time. These errors aren’t always easy to reproduce on demand, and at one stage I was told that there were fundamental design issues. Was looking forward to the rewrite, but development has stalled, and status unclear. I don’t blame the author in anyway (I have a lot of projects in this state myself). Would consider contributing to mqtt-5 branch development if this is the best option.
GitHub - brianbinbin/exmqtt: Elixir MQTT v5.0 Client - no development for 15 months. But does support MQTT 5 - according to description at least.
A number of other options that look hopeful, but looks like development has also stalled.
Maybe I should be looking at erlang solutions? e.g. GitHub - emqx/emqtt: Erlang MQTT v5.0 Client looks like it is actively maintained.
So wondering what the best option forward is. Examples:
- Take over the development of the mqtt-5 branch on tortoise.
- Take over another project.
- Learn about MQTT-5 and start my own project from scratch?
- Write Elixir wrapper for Erlang solution.
I tend to favor the last option right now. Unless of course somebody has already written such a wrapper.
But would appreciate any opinions,