admin管理员组

文章数量:1123364

I have a service that performs create, update, and delete operations on large aggregates (over 100 fields with nested structures). The service uses the outbox pattern, where each operation generates a snapshot that is subsequently streamed to Kafka. While each update only affects a few fields, I need to trace how specific parameters have changed over time.

Although I have access to all snapshots, it can be cumbersome to manually determine how a particular parameter has changed. In event sourcing, snapshots are built periodically; however, my challenge is to reverse-engineer this process and derive a history of changes from existing snapshots.

Can anyone provide advice or best practices on how to effectively accomplish this? Thank you!

本文标签: architectureHow to Derive Change History from Snapshots in an Outbox PatternStack Overflow