AlecAivazis / graphql-over-kafka

A framework for building event-driven microservice applications in python
MIT License
19 stars 3 forks source link

Add support for relay subscriptions #30

Closed AlecAivazis closed 8 years ago

AlecAivazis commented 8 years ago

As a developer, I want to be able to specify my applications subscription requirements through relay subscription model.

From #27

You already can specify your subscriptions through the graphql api (see here) and there's already graphene support. I have some thoughts on ways to tie the requested subscription to amqp routes, which lets us "whitelist" backend events and pass them onto the subscriptions that need them. If we do things correctly (ie, conforming to the "relay way"), this should give us realtime for free in react clients. Extending this to a general socket.io connection should be really easy - and probably the job for a standalone service, not the api gateway.

I will provide a more detailed description of the whitelist when I have some time to collect my thoughts

AlecAivazis commented 8 years ago

Closing this since it will probably come with updates to the apollostack