Skip to content

Instantly share code, notes, and snippets.

@diegodurs
Created December 5, 2015 16:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diegodurs/30bcb8b1fbe162a51bb6 to your computer and use it in GitHub Desktop.
Save diegodurs/30bcb8b1fbe162a51bb6 to your computer and use it in GitHub Desktop.
What the heck is EventSourcing & CQRS ? Event table
event id event name payload
1234 artist_was_created artist_id: 1111, name: 'Beatles'
1235 artist_name_was_corrected artist_id: 1111, new_name: 'The Beatles'
1236 performance_was_claimed_on_recording performance_claim_id: 7171, user_id: 2222, recording_id: 3131, performance: 'singer'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment