graphql-mongodb-subscriptions
JSON →A PubSub engine for graphql-subscriptions that uses MongoDB's capped collections and tailable cursors to broadcast subscription events across multiple server instances. Current stable version is 1.0.1, with peer dependencies on graphql-subscriptions (^1.0.0 || ^2.0.0) and mongodb (^5.3.0). It implements the PubSubEngine and AsyncIterator interfaces to integrate seamlessly with Apollo GraphQL subscriptions. Key differentiators: leverages MongoDB’s native pub/sub-like capped collection feature for persistence and scalability without additional message brokers. Suitable for stacks already using MongoDB.