{"library":"kafkajs","type":"library","category":null,"description":"KafkaJS is a modern Apache Kafka client library for Node.js, currently at stable version 2.2.4. It offers comprehensive features for producing and consuming messages, as well as administrative tasks, providing native support for Kafka 0.10+ and specifically 0.11 features like transactions and custom authentication mechanisms. The library ships with full TypeScript definitions, ensuring a robust development experience. It aims for a low-level, high-performance approach, with a relatively frequent release cadence for bug fixes and minor enhancements, as seen by multiple patch releases in quick succession after major version bumps. A key differentiator is its focus on Node.js specifics and robust error handling to prevent common issues like CPU spikes.","language":"javascript","status":"active","version":"2.2.4","tags":["javascript","kafka","sasl","scram","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install kafkajs","imports":["import { Kafka } from 'kafkajs'","import { Producer, Consumer, Admin } from 'kafkajs'","import type { EachMessagePayload, KafkaConfig } from 'kafkajs'","import { Partitioners } from 'kafkajs'"]},{"cmd":"yarn add kafkajs","imports":[]},{"cmd":"pnpm add kafkajs","imports":[]}],"homepage":"https://kafkajs.org","github":"https://github.com/tulios/kafkajs","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/kafkajs","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/kafkajs/compatibility"}}