Confluent Cloud offers an officially supported JavaScript client for Apache Kafka (CJSK), based on librdkafka. This client provides APIs similar to KafkaJS and node-rdkafka, supports TypeScript, and integrates with Confluent Schema Registry and client-side field-level encryption (CSFLE). It offers both callback and promisified APIs for producer and consumer workflows. This post details building an application using the client to settle a debate, demonstrating both producer and consumer functionality.
All Confluent trails