Proca.Stage.Event (proca v3.3.1)
Define JSON format for events in proca system.
These events are mostly CRUD operations that happened on different records.
Link to this section Summary
Link to this section Functions
emit(event, record, org_id, opts \\ )
put_data(data, atom, confirm, opts)
Routing key for the event message is two-element topic routing key for confirms (because they have subtype), and one element key for CRUD events.
- confirm_created.add_staffer - for new add_staffer confirm XXX remove!
- system.campaign_updated - for any campaign update