A Node.js client for producing JSON and binary messages to Apache Kafka via the Confluent REST Proxy. Current stable version 1.11.7, released in 2018 with no active maintenance. Supports only CommonJS (require) and callbacks. Key differentiator: simple REST-based Kafka producer without native Kafka protocol dependencies. Limited to producing messages; no consumer support. Not compatible with modern Kafka REST Proxy security features (e.g., SASL, SSL). Not recommended for new projects; consider using kafkajs or node-rdkafka instead.
npm install kafka-rest-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to connect to a Kafka REST proxy and produce a message using callbacks.
Always use 'new KafkaRestClient(...)'.
Pass a dummy callback if not needed: function(){}.Migrate to kafkajs or node-rdkafka.
Ensure 'connect' callback is invoked before calling 'produce'.
Verify proxyHost and proxyPort, and ensure the proxy is running.
No dependency data recorded yet.