tracing events in event driven architecture

0

We are thinking of designing commands and events based architecture for our feature. One problem we observe here is that how do we debug or trace "what happen to these commands and events ?"

For example if i send "createUser" command and when the user is created, we will emit "userCreatedEvent". Are there any way to correlate these command and events ?

We want to track all the sequence of events completed or not. It will help us in debugging and identity what successfully executed and what events are not successfully executed.

feita há um ano455 visualizações
1 Resposta
1

Hi,

you can instrument your code via AWS X-Ray to trace your events. You can see X-Ray used in this end-to-end implementation of a airline booking system. The Serverless Observability workshop provides step-by-step instructions on how to do distributed tracing for your event based application.

Cheers,

Massimiliano

AWS
ESPECIALISTA
respondido há um ano
profile pictureAWS
ESPECIALISTA
avaliado há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas