7.29.3 • Published 5 years ago
ts-sinek v7.29.3
High Level Node.js Kafka Client
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 onnode-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
- check out :goberserk: node-kafka-streams for a stream processing kafka api
- check out :fire: node-kafka-connect for a easy datastore <-> kafka transfer
Latest Changes
Can be found here
Install
npm install --save sinek
Usage - Native Client
const {
NConsumer,
NProducer
} = require("sinek");
- We suggest using the native clients NConsumer & NProducer implementations, if possible.
- Native Client (NConsumer & NProducer)
- Best-practice example
Further Docs
make it about them, not about you
- Simon Sinek