Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
shaeqahmed
· 4y ago · 0 comments
A CDC alone wouldn't. You would need to track and store that metadata in an additional database along with transaction ID, so it can be joined with the raw change stream to form a complete audit log.
Comments
[–]
gunnarmorling
4y ago
Wrote about this very approach on the Debezium blog some time ago:
https://debezium.io/blog/2019/10/01/audit-logs-with-change-d...
. It uses Kafka Streams for enriching actual change events with that transaction-scoped metadata.