package nsq

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.1.tar.gz
sha256=fe39ba799b861ed99a00c4ea0271b71a00bb466422f4e533a770a52c50cabe66
md5=267594ffb54ca22afc857f0728a5a5f4

Description

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

Published: 15 Nov 2017

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
make

Spin up NSQD using docker:

docker run nsqio/nsq nsqd

Run the example:

_build/default/examples/example.exe

Dependencies (6)

  1. integers
  2. ocplib-endian
  3. lwt < "4.0.0"
  4. containers < "2.0"
  5. jbuilder >= "1.0+beta7"
  6. ocaml >= "4.03.0"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.