JSPM

  • Created
  • Published
  • Downloads 446
  • Score
    100M100P100Q85128F
  • License MIT

kafka client (consumer + producer); polite out of the box

Package Exports

  • sinek

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sinek) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme


node-sinek

Greenkeeper badge Build Status npm version

kafka client(s) polite out of the box

make it about them, not about you

  • Simon Sinek

info

  • promise based api
  • core builds kafka-node module (checkout for options & tweaking)
  • uses ConsumerGroup(s) means your kafka needs to be > 0.9.x ( - 0.10.2+)
  • check out :goberserk: node-kafka-streams for a stream processing kafka api
  • check out 🔥 node-kafka-connect for a easy datastore <-> kafka transfer

offers

  • provides an incoming message flow control for consumers
  • provides a drain once for consumers
  • provides an easy api for producers
  • higher level abstractions = less headaches
  • documentation is still wip

install

npm install --save sinek

usage

const {Kafka, Drainer, Publisher, PartitionDrainer, Consumer, Producer} = require("sinek");

docs