Microservices communication with subscriptions? #4652
Unanswered
marcellolanfranchi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I'm using your library, hot chocolate, and it is amazing! Thanks so much for doing an incredible job on it!
I have a question for you.
First of all, I am quite new in the .net world and I'm coding for fun, with no real experience so maybe my question is silly.
I am trying to implement a microservice architecture for my app using hot chocolate. I'm using a gateway schema and lots of things already work (surprisingly).
Tell me if it is completely wrong, but I would like to use your event pub/sub system to implement inter microservices communication.
I'm using subscriptions on Redis for each microservices and I can subscribe for an event if I call the specific subscription from Banana cake pop. However, I do not understand how I could subscribe to an event without making an HTTP call. I would like to be able to subscribe for events when the microservice is starting so that it is able to receive events triggered by other microservices.
I really hope my question is not too silly, and if so, my apologies. Thanks for any help,
Marcello
Beta Was this translation helpful? Give feedback.
All reactions