Proca.Stage.Event (proca v3.4.1)
Define JSON format for events in proca system.
These events are mostly CRUD operations that happened on different records.
If and only if the org has
event_backend set, a special message with
schema "proca.event.2" will be injected into deliver queue, along action data.
If instance org has events enabled, it gets events from ALL orgs.
The event backend enables you to send events to SQS or webhook, and the
custom_event_deliver means events are stored in custom delivery queue you
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