GoodAnalytics.Connectors.Dispatch (GoodAnalytics v0.1.1)

Copy Markdown View Source

Durable outbound connector dispatch record.

Each dispatch tracks a single delivery attempt from a source event to an external ad platform connector. Dispatches store both a payload snapshot (what was sent) and a source context (what is needed to rebuild the payload for replay).

Summary

Functions

Changeset for creating a new dispatch record.

Changeset for updating delivery status and response metadata.

Changeset for marking a dispatch as replayed.

Functions

changeset(dispatch, attrs)

Changeset for creating a new dispatch record.

delivery_changeset(dispatch, attrs)

Changeset for updating delivery status and response metadata.

replay_changeset(dispatch, attrs)

Changeset for marking a dispatch as replayed.