package nsq

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.5.1.tar.gz
md5=ef4e29cfdbaae71baa7113e45ddd0f5d
sha512=076dfc6c2dae0c499e52820294ffff9ff6cb7337305712814fc6635b707cd45111e26ada228fbcf3036a0f6a03a1b16dbab7379ca2872fcde89436ccb3433770

Description

Published: 13 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