Ocaml client library for the NSQ messaging platform
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
src
.gitignore
LICENSE
Makefile
README.md
_tags
dune-project
nsq.opam

README.md

NSQ Client Library in OCaml

A simple client library for the NSQ message platform.

See examples for a simple example that publishes and subscribes on the same topic.

Getting started

To compile the example program:

NOTE: You will need to change the IP address to that of the docker host in example.ml

opam install containers lwt ocplib-endian integers cohttp-lwt-unix
make

Spin up NSQD using docker:

docker run nsqio/nsq nsqd

Run the example:

_build/default/examples/example.exe