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.

gefragt vor einem Jahr454 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor einem Jahr
profile pictureAWS
EXPERTE
überprüft vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen