async C client library for NSQ
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
Makefile
README.md Add jansson library as replaceable of json-c Jun 7, 2016
command.c
http.c
http.h
json.c
json.h
message.c
nsq.h
nsqd_connection.c
nsqlookupd.c
reader.c
test.c
utlist.h

README.md

libnsq

async C client library for NSQ

Status

This is currently pretty low-level, but functional. The raw building blocks for communicating asynchronously via the NSQ TCP protocol are in place as well as a basic "reader" abstraction that facilitates subscribing and receiving messages via callback.

TODO:

  • maintaining RDY count automatically
  • feature negotiation
  • better abstractions for responding to messages in your handlers

Build

libnsq depends on json-c by default, but you can choose jansson for replacement.

WITH_JANSSON=1 make

Dependencies