graphql-kafkajs-subscriptions

JSON →
library 4.0.10 ·javascript
verified Jun 7, 2026

Apollo GraphQL subscriptions over Kafka using kafkajs. Version 4.0.10. Provides a KafkaPubSub class that implements the PubSubEngine interface, allowing GraphQL subscriptions to be backed by Kafka topics. Unlike alternatives like graphql-kafka-subscriptions, this library uses kafkajs (modern Kafka client) and supports per-instance consumer group IDs with prefix or fixed group options. Ships TypeScript types. Requires kafkajs as a peer dependency. Released under MIT license.