Hello I’m trying to make a toy project and made SignUp API with Saga Orchestrator and kafka.
And I need to respond JWT Token when success to client.
When I create user in PENDING state, I need to respond to request and send kafka message to other service.
When other service success, user service update their state to CREATED.
But I don’t know how to respond http status code and response body to client.
How can I send response to client?
Leave an answer