/zeromq-scala-binding

Scala binding for ZeroMQ

Primary LanguageScalaApache License 2.0Apache-2.0

Scala Binding for ZeroMQ

The Scala binding for ZeroMQ is based on ZeroMQ versions 2.1.x and uses JNA for accessing native functions. It is a thin wrapper of the ZeroMQ API, but offers also a jzmq-like API intending to be compatible with the Java binding for ZeroMQ; users of the Java binding wanting to access ZeroMQ over JNA can switch over to the Scala binding.

svozniuk: changed the return type of the poll(long timeout) method in ZMQ.java to make it fully compatible with java bindings(https://github.com/zeromq/jzmq)

Installation

Scala binding for ZeroMQ is made available through a Maven repository. If you're using SBT, ament your build.sbt with:

resolvers += "Sonatype (releases)" at "https://oss.sonatype.org/content/repositories/releases/"

libraryDependencies += "org.zeromq" %% "zeromq-scala-binding" % "0.0.6"