package nsq

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.5.3.tar.gz
md5=1a1e79bc25558efcea4b6a8b6a0e0d16
sha512=72f1f1ea66e9f4d97f9a8d0dcf40807ba0aec283e022d1be5fa290dddf31e420949b5a24c012e11912d385c5838ce1779b9b7ee0fb2e452866ae1ee67ecaa05e

Description

Published: 03 Nov 2020

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

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.