You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to understand how to implement an api gateway that deals with microservices that expose rest and rpc endpoints.
Expose REST endpoints to the client. Internally route to the REST or RPC microservices
Expose REST and RPC endpoints to the client, route as necessary
We chose Krakend, I implemented the endpoints and configured rabbitmq, and it works, but I don't know how to give to the correct client from the queue. Can I give it back with some key? @kpacha
first way
here i try set username with a queue and return the new username
An endpoint can't be a producer and a consumer at the same time.
The consumer can't be dynamically bound to different queues or routes depending on the request. The consumer is created when starting the gateway and it fetches messages at the background
I'm trying to understand how to implement an api gateway that deals with microservices that expose rest and rpc endpoints.
We chose Krakend, I implemented the endpoints and configured rabbitmq, and it works, but I don't know how to give to the correct client from the queue. Can I give it back with some key?
@kpacha
first way
here i try set username with a queue and return the new username
second way
producer
here i try set username with a queue
consumer
here return the new username
thanks for help)
The text was updated successfully, but these errors were encountered: