node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

sinek


High Level Node.js Kafka Client - sinek

Greenkeeper badge Build Status npm version

The most advanced Kafka Client.

Features

  • easy promise based API
  • a lot of Kafka pitfalls already taken care of
  • backpressure and stream consume modes
  • secure committing in backpressure (1:n, batch) mode
  • plain Javascript implementation based on kafka-node and a super fast native implementation based on node-rdkafka
  • SSL, SASL & Kerberos support
  • auto reconnects
  • auto partition recognition and deterministic spreading for producers
  • intelligent health-checks and analytic events for consumers and producers

You might also like

Install

npm install --save sinek

Usage - Native Client

const {
  NConsumer,
  NProducer 
= require("sinek");

Usage - Javascript Client

const {
  Consumer,
  Producer 
= require("sinek");

Docs

make it about them, not about you

  • Simon Sinek