package nsq
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
Dependencies (14)
- logs
- ppx_compare
- ppx_sexp_conv
- ppx_deriving_yojson
-
ocaml-migrate-parsetree
< "2.0.0"
- yojson
- cohttp-lwt-unix
- cohttp
- integers
- ocplib-endian
-
lwt
>= "3.2.0" & < "4.0.0"
-
base
< "v0.15"
-
jbuilder
>= "1.0+beta7"
-
ocaml
>= "4.04.0"
Dev Dependencies
None
Used by
None
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page