package nsq

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.3.0.tar.gz
sha256=44929d47a1bfeb86b0eed158d698568475f799e89bef12dc4526f8a94802cf77
md5=dfd93bbeb5ae814e2f606480d12a487c

Description

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

Published: 10 Jun 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.