Event Replay

Replay events in case of failures, or for testing and diagnostics.
Available Plans
  • growth
  • enterprise

RudderStack’s Event Replay feature lets you back up your event data and replay it in case of any failures. You can leverage this feature in the following scenarios:

  • Replay failed events from a particular date to a destination, maybe due to some misconfiguration.
  • Replay all events for a particular source, from a particular date, to a new event stream or warehouse destination.
info

Feature support by plan

Supported event types for replay

warning
RudderStack does not support replaying data from Reverse ETL sources.

RudderStack can store the following types of event data and replay it to the specified destinations:

Raw events

RudderStack stores the raw events captured through various sources in batches of 100,000 events.

Note the following:

  • Upload frequency: The upload frequency is 100,000 events or 5 minutes (whichever is earlier) for each source.
  • File format: RudderStack stores the events in newline-separated gzipped JSON format.

Delivery failures

RudderStack stores only the metadata of the delivery failures in its own S3 storage, approximately every 30 seconds.

RudderStack does not store any event payloads in case of delivery failures, as the payloads are already stored during archival.

Event data retention options

info

Event data retention options are available in the Growth and Enterprise plans.

Configure them in Settings > Workspace > Data Management. See Data Management for details.

RudderStack offers the following event data retention options for event replay:

Data retention option
Description
Recommended for replay?
Do not store event dataRudderStack does not store any event data and hence it cannot be replayed.
Store in your own cloud storageEvent data is stored in your object storage. RudderStack currently supports Amazon S3, Google Cloud Storage, Azure Blob Storage, and MinIO as the object storage options.
RudderStack 7-day cloud storageThis is the default setting on Growth and Enterprise plans — RudderStack stores event data on a rolling 7-day basis to prevent data loss if a rare incident occurs.
RudderStack 30-day cloud storageRudderStack stores the event data in its S3 bucket on a rolling 30-day basis, that is, RudderStack deletes the data 30 days after it was stored. Available in the Enterprise plan only.

Object storage setup

If you choose to set up your own object storage for backing up and replaying the events, follow the steps below depending on your cloud provider:

Event ordering behavior

RudderStack processes replayed events in the same order they were originally received at the source.

warning

Important consideration

While RudderStack processes events in their original order, destinations may overwrite newer data with older replayed data, depending on how each destination handles events. Consider this behavior when replaying your events to avoid unintended data overwrites.

How can I replay my events?

Depending on how you store your event data (RudderStack-hosted storage or your own object storage), contact RudderStack Support to safely replay your events and avoid any unfavorable circumstances.


Questions? We're here to help.

Join the RudderStack Slack community or email us for support