async C client library for NSQ
C Makefile
Latest commit c13f5a0 Aug 15, 2016 @mreiferson mreiferson committed on GitHub Merge pull request #14 from belltoy/master
Initialize to NULL reconnect_timer when create a new NSQDConnection
Permalink
Failed to load latest commit information.
.gitignore Configurable and reconnectable for standalone nsqd Jun 12, 2016
Makefile Configurable and reconnectable for standalone nsqd Jun 12, 2016
README.md Add jansson library as replaceable of json-c Jun 7, 2016
command.c fix ip length and static cast bug, add processor args for all back Mar 25, 2015
http.c fix ip length and static cast bug, add processor args for all back Mar 25, 2015
http.h
json.c
json.h Add jansson library as replaceable of json-c Jun 7, 2016
message.c
nsq.h Configurable and reconnectable for standalone nsqd Jun 12, 2016
nsqd_connection.c Initialize to NULL reconnect_timer when create a new NSQDConnection Aug 15, 2016
nsqlookupd.c Add jansson library as replaceable of json-c Jun 7, 2016
reader.c Fix: count == 0 segment fault Jun 14, 2016
test.c Configurable and reconnectable for standalone nsqd Jun 12, 2016
utlist.h fix build; add json-c and utlist dependencies Jul 20, 2013

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