package nsq

  1. Overview
  2. Docs
Client library for the NSQ messaging platform

Install

Dune Dependency

Authors

Maintainers

Sources

0.2.5.tar.gz
sha256=058aac53fd4ad00fba55443597f735337f1aa376450b40a17d006905beeed1f8
md5=b02cd6d43189385f3ae1b537cb426055

Description

This package supports publishing and consuming message using the NSQ message platform. It uses Lwt for concurrency.

Published: 27 May 2018

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.