package nsq

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.0.tar.gz
md5=6766835eb3c9735269f327ca0bec282c
sha512=2a544b9148c681ce213c9b6fe75126f98d762a5965011d05f9bfccd21a621f04c10eb1f5bcddb173ac62dbc807bbb8f39669ba875cd58081ec2a975fc3e8b686

Description

Published: 19 Feb 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