package nsq

  1. Overview
  2. Docs
A client library for the NSQ messaging platform

Install

Dune Dependency

Authors

Maintainers

Sources

0.5.0.tar.gz
md5=ef9f64620d8e147e8c6a2a791efcf0d8
sha512=16d7fb2d742d8aa364350bb4c92a0e80e0f62195afa7a7c61c83e6ee6ef8ba688e4ee0e500510f287120451de2233f6022f3676bc410e2f322b97f19ebfd5194

Description

Published: 02 May 2019

README

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