chumak
is a library written in Erlang. It implements the ZeroMQ Message Transport Protocol (ZMTP). chumak
supports ZMTP version 3.1.
The goal of chumak
application is to provide up-to-date native Erlang implementation of ZMTP.
- Resource Property (NEW in 3.1!)
- Request-Reply pattern
- Publish-Subscribe pattern
- Pipeline Pattern
- Exclusive Pair Pattern
- Version Negotiation
- NULL Security Mechanism
- Error Handling
- Framing
- Socket-Type Property & Identity Property
- Backwards Interoperability with ZMTP 3.0
You can install chumak
from hex.pm by including the following in your rebar.config
:
{deps,[
{chumak, "X.Y.Z"}
]}.
where X.Y.Z is one of the release versions.
For more info on rebar3 dependencies see the rebar3 docs.
See examples. Otherwise use just like a regular Erlang/OTP application.
If you would like to use python tests to try language interop, you need to have pyzmq installed.
$ rebar3 compile
$ rebar3 eunit -c
The -c
will allow you to see the test coverage by running the command below.
$ rebar3 cover
$ rebar3 edoc
Architecture describes the system structure.
See Contributing.
-
Why another Erlang implementation?
Because the existing Erlang implementations and bindings are out of date.
-
Can I use
chumak
for free?Yes, as long as you abide by the terms of the MPLv2 license. In short, you can include this code as a part of a larger work, even commercial. It is only when you modify
chumak
source code itself that you have to make that change available. Please read the license, as this description is not complete by any means. -
Do I have to sign over my copyright when contributing?
No. Everyone owns the piece of code they contribute. Please see Contributing for details.
- CurveZMQ - add security, with which chumak is compatible.
This project is licensed under Mozilla Public License Version 2.0. See license for complete license terms.
From Wikipedia:
Chumak (Ukrainian: чумак) is a historic occupation on the territory of the modern Ukraine as merchants or traders, primarily known for the trade in salt.