Dirty NIF based Erlang bindings for the ZeroMQ messaging library.
Forked from erlang solutions erlzmq project.
Forked from the erlzmq2 project.
Copyright (c) 2020 Łukasz Samson
Copyright (c) 2019 erlang solutions ltd
Copyright (c) 2011 Yurii Rashkovskii, Evax Software and Michael Truog
The erlzmq application provides high-performance NIF based Erlang bindings for the ZeroMQ messaging library.
Add reference to the packege from Hex.pm
erlang: add to rebar.config
{erlzmq, "~> 4.1.3", {pkg, erlzmq_dnif}}
elixir: add to mix.exs
{:erlzmq, "~> 4.1", hex: :erlzmq_dnif}
The erlzmq_dnif source code can be found on GitHub
$ git clone http://github.com/lukaszsamson/erlzmq.git
Please note that to behave properly on your system ZeroMQ might require some tuning.
Install zeromq-dev package for your distro.
Build the code
$ rebar3 compile
Build the docs
$ rebar3 edoc
Run the test suite
$ rebar3 eunit
The bindings use Erlang's Dirty NIF (native implemented functions) interface to achieve the best performance.
The project is released under the MIT license.