/Scala-MQTT-client

A Scala MQTT client library

Primary LanguageScalaApache License 2.0Apache-2.0

A Scala MQTT client library Build Status Coverage Status

Introduction

The initial purpose of this projects is twofold:

  1. To provide an MQTT client library purely written in Scala with Akka. Particularly, I did not wanted to build it around an existing Java MQTT library.
  2. To learn how to implement a network protocol with Akka.io and fully benefit from Akka's asynchronous programming model.

But quickly, when I came to look at how to encode/decode MQTT protocol frames, I stumbled upon Scodec. This seemed to be the encoding/decoding framework I was waiting for a long time. So I decided to give it a try...

Dependencies

  • Scala 2.11.2
  • Akka 2.3.6
  • scodec-core 1.5.0

License

This work is licenced under an Apache Version 2.0 license