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.


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 ""

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

Configure for GPG signed artefacts

When publishing a package to OSS Sonatype, you may sign the artefacts by adding the following lines to project/plugins.sbt:

resolvers += Resolver.url("sbt-plugin-release", new URL("")) (Resolver.ivyStylePatterns)

addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.7")

Also, you need create a file containing your Sonatype credentials ~/.sbt/sonatype.sbt:

credentials += Credentials("Sonatype Nexus Repository Manager",