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年前452ビュー
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ