Skip to content

Installation

Choose your preferred package manager and run one of the following commands in your terminal:

sh
npm install effect-kafka
sh
yarn add effect-kafka
sh
pnpm add effect-kafka
sh
bun add effect-kafka

Next install one of kafka engine packages:

sh
pnpm add kafkajs
sh
pnpm add @confluentinc/kafka-javascript
sh
pnpm add @platformatic/kafka
  • KafkaJS - Fully JavaScript implementation.
  • @confluentinc/kafka-javascript - JavaScript interface for C++ librdkafka implementation, which is more performant, but requires native bindings.
  • @platformatic/kafka - New pure JavaScript Kafka client implementation with ambition to replace KafkaJS

NOTE

You can use any of the above Kafka engine packages, depending on your preference.

Released under the MIT License.