async C client library for NSQ
C Makefile
Latest commit c13f5a0 Aug 16, 2016 @mreiferson mreiferson committed on GitHub Merge pull request #14 from belltoy/master
Initialize to NULL reconnect_timer when create a new NSQDConnection

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