# SOHU-Co/kafka-node

Node.js client for Apache Kafka 0.8 and later.

Repository: https://github.com/SOHU-Co/kafka-node
Canonical: https://ross.abutalabs.com/products/kafka-node
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2023-08-30T18:34:06+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4697, "days_push": 1099, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2651, forks 612 (observed 2026-08-28T04:07:07.037105+00:00)

## What it is
kafka-node is a Node.js client library for Apache Kafka 0.9 through 0.11, providing producers, consumers, consumer groups, stream-based APIs, and administrative operations. It supports SSL connections, SASL/PLAIN authentication, and offset management.

## Use cases
- produce messages to kafka from node.js
- consume kafka topics in a node app
- join a kafka consumer group with node
- stream kafka messages with node streams
- create and manage kafka topics programmatically
- connect to kafka brokers over ssl or sasl

## When to choose
- you're on Node.js and need a pure-JS Kafka client without native dependencies
- you're running older Kafka brokers (0.9-0.11)
- you need stream-based producer/consumer APIs

## When to avoid
- you're on modern Kafka (2.x+) where kafkajs or confluent-kafka-javascript are better maintained
- you need the newest Kafka protocol features
- you need guaranteed long-term support

## Facets
- artifact type: library
- maturity: maintenance
- function: message-queue, http-client, streaming
- domain: microservices, backend, developer-tools
- platform: cross-platform
- tags: kafka, apache-kafka, producer, consumer, consumer-groups, event-streaming, javascript, messaging, nodejs

## Member repositories
- SOHU-Co/kafka-node (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:07.037105+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:18:41.682237+00:00, confidence not recorded.
  - readme: https://github.com/SOHU-Co/kafka-node (fetched 2026-08-28T04:07:07.037105+00:00, sha fc26cec5bdb2)
  - registry_npm: https://registry.npmjs.org/kafka-node (fetched 2026-08-29T10:01:48.822252+00:00, sha 4f0677020c53)
- Data as of 2026-08-30T08:39:29.467469+00:00.
