|
|
|
GraphQL for Event Driven Architecture
|
|
8 points
by quantdaddy
1598 days ago
|
|
Hey guys, I've been working on a GraphQL library for typescript that enables building event driven architecture using GraphQL schema. It can be used to publish and consume events in a type safe way using any message broker (Kafka, .RabbitMQ, PubSub etc). I built this library to scratch my own itch when I was trying to building a type safe event driven communication between microservices: JSON schema and protobuf didn't feel elegant and were too verbose so I thought why not GraphQL. You can read more in my blog post here: https://graphql-eventbus.vercel.app/blog Youtube Intro Video: https://www.youtube.com/watch?v=XLbShOmkKk0 Github: https://github.com/skk2142/graphql-eventbus Docs: https://graphql-eventbus.vercel.app/ I'd love to get your feedback! |
|
2 questions:
1. Are there tools out there that can translate between GraphQL schema, JSON schema and protobuf?
2. How would you version events