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.

已提問 1 年前檢視次數 453 次
1 個回答
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
專家
已回答 1 年前
profile pictureAWS
專家
已審閱 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南