graphql-eventbus-google-pubsub
TypeScript icon, indicating that this package has built-in type declarations

0.5.1 • Public • Published


Google Pubsub GraphQL Eventbus

This is a reference implementation of GraphQL Eventbus using Google Pubsub.

Overview

  • ✂️ Schema Driven: Define your events and payloads in GraphQL schema. Consume your events using GraphQL documents.
  • 🤝 Message Broker agnostic: Works with any message broker. We provide packages for Google Pubsub and RabbitMQ. You can easily use the library to build a bus for your message broker.
  • 🚀 Code Generation: GraphQL Codegen plugin to generate code for typescript (npm i graphql-eventbus-codegen).
  • 🎯 Plugins: We provide plugins for logging and monitoring. You can also build your custom plugins.
  • ✴️ Best Practices:: Publish time, event ID, and other metadata propagation are built-in for observability.
  • 🤖 Testing Utilities:: The library comes with utilities to easily sample payload for your events and test your event handlers.

Documentation

You can find extensive documentation at https://graphql-eventbus.vercel.app

Contributing

We are always looking for people to help us grow graphql-eventbus! If you have an issue, feature request, or pull request, let us know!

Follow us on Twitter!

License

MIT @ Suraj Keshri

Package Sidebar

Install

npm i graphql-eventbus-google-pubsub

Weekly Downloads

101

Version

0.5.1

License

MIT

Unpacked Size

93.9 kB

Total Files

9

Last publish

Collaborators

  • quantdaddy