Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4791 pages

Cloud and platforms

EventBridge vs Event Grid vs Eventarc: Retries, Dead Letters and Filters

In short

The three routers give up on a failing target at different times and read different parts of an event. EventBridge Classic rules retry for 24 hours or 185 attempts by default, its newer Custom Event Bus for 300 seconds or 5 attempts. Event Grid retries for up to a day and can dead-letter to Blob storage. Eventarc filters on event attributes and leaves Standard retries to a Pub/Sub subscription.

How long does each router keep retrying a target that fails?

EventBridge now has two bus types with different defaults. A Classic rule target is retried for 24 hours and up to 185 times, with exponential backoff and jitter. A subscriber on the newer Custom Event Bus stops at 5 attempts or 300 seconds. Both allow the same ceilings, and the AWS migration guide says to set them on each subscriber if consumers relied on a day of retries.

Event Grid topics retry on a fixed schedule from 10 seconds up to every 12 hours, for 24 hours, and wait 30 seconds for each response. Namespace topics, which have their own page, settle at one retry every 5 minutes. The general page names no tier; I read it as covering topics outside namespaces.

Eventarc Standard keeps no retry setting itself; the trigger's Pub/Sub subscription holds it. Eventarc Advanced sets the policy on the pipeline and doubles the delay after each failure, a factor you cannot change.

SaaS senders that call your endpoint directly keep retry clocks of their own; webhook retry policies for Stripe, GitHub, Shopify and Slack lists their windows and cut-offs.

RouterDefault stopping pointWhat you can set
EventBridge, Classic rule target24 hours or 185 attemptsEvent age 60 to 86,400 s, attempts 0 to 185
EventBridge, Custom Event Bus subscriber300 s or 5 attemptsEvent age 60 to 86,400 s, attempts 0 to 185
Event Grid, topic subscription1,440 minutes or 30 attemptsTTL 1 to 1,440 minutes, attempts 1 to 30
Event Grid, namespace subscription10 deliveriesCount 1 to 10, retention from 1 minute up to 7 days
Eventarc Standard trigger24-hour retention set by Eventarc, backoff 10 s to 600 sBackoff on the Pub/Sub subscription, each bound 0 to 600 s
Eventarc Advanced pipeline5 attempts, delay 1 s rising to 60 sAny positive attempt count, delays 1 to 600 s

Checked against: source 1, source 3, source 4, source 15, source 16, source 17, source 18, source 24, source 25

Which failures skip the retry schedule?

On a Classic bus, a missing permission, a deleted target or a DNS failure gets no retry and goes straight to the dead-letter queue, if one exists. A target that throttles for a long time might not be retried either. The Custom Event Bus says every failure reaching its queue went through the retry policy first.

Event Grid's general page lists 400, 413 and 403 as not retried, plus 401 for webhooks, and dead-letters a 400 or 413 at once; the namespace page lists 400, 401, 403, 404 and 414 instead. An endpoint that keeps failing can be put on probation, and events may then be dead-lettered or dropped without an attempt.

Eventarc Advanced retries only 408, 409, 429, 500, 502, 503 and 504. On Eventarc Standard, a Cloud Run trigger created from the Cloud Run console page defaults to a single attempt with no retries; gcloud, Terraform and the Eventarc page turn retries on.

Checked against: source 2, source 4, source 12, source 17, source 18, source 24, source 25

Where does an event go when the retries run out?

EventBridge, Event Grid and Eventarc Standard all drop an event that runs out of retries unless you set a failure destination. EventBridge Classic takes an optional Amazon SQS standard queue in the rule's Region per target, not a FIFO queue, and tags each message with the rule ARN, target ARN and error code.

The Custom Event Bus writes a JSON record about the failure, not the event. To redrive, you create a temporary subscriber that starts at a point in time and filters on the failed event IDs, which works only inside the bus retention period.

Event Grid dead-lettering is off by default. It writes to a Blob storage container five minutes after the last attempt, and drops the event if that container stays unavailable for four hours.

Eventarc Standard uses a Pub/Sub dead-letter topic set on the subscription, not on the topic. Google lists dead-letter queues as unsupported in Eventarc Advanced and shows archiving every message to BigQuery to find failures instead.

Checked against: source 2, source 4, source 17, source 24, source 25, source 27

Can any of them keep order or drop duplicates?

Event Grid delivers at least once to each matching subscription and does not guarantee order. Eventarc gives no first-in-first-out guarantee, because strict order would undermine the availability it takes from Pub/Sub, and recommends the event ID as an idempotency key. A Classic EventBridge rule has no ordering and can, in rare cases, invoke a target more than once for one event.

Of the pages cited here, only the Custom Event Bus ones document both ordering and deduplication. A FIFO subscriber keeps publish order within an EventGroupId, and the bus suppresses a duplicate published within 5 minutes, matched by content or by your DeduplicationId. But one failed target call holds up every group until it succeeds, dead-letters or is dropped. I would size a FIFO subscriber's retry window by how long the whole subscriber can stall.

Checked against: source 4, source 5, source 6, source 12, source 17, source 23, source 24, source 27

How much of the event can a filter look at?

EventBridge patterns match envelope fields and payload fields under detail, with prefix, suffix, numeric, IP address, exists, anything-but, wildcard and $or operators. A Classic pattern has an adjustable quota of 2,048 characters. Custom Event Bus filters drop wildcards and allow one filter per scope, 4,096 bytes in all.

Event Grid filters on event type, subject prefix or suffix, and advanced filters on data fields: 25 filters and 25 values per subscription, case-insensitive strings, no arrays of objects.

Eventarc reads attributes. A Standard trigger passes only events that match all its filters, each an exact key-value pair unless it sets a path-pattern operator. Advanced enrollments use CEL, but message.data is reserved, so the payload cannot drive routing. I would copy a routing field into a CloudEvents extension attribute at publish time, which the CEL page says enrollments can read.

Checked against: source 7, source 8, source 9, source 10, source 19, source 28, source 29

What format and size reach the target?

EventBridge wraps data in its own JSON envelope, under detail. A PutEvents request must total under 1 MB, and a lone event may use all of it. The Custom Event Bus adds PutRawEvents for Avro, Protobuf or raw bytes.

Event Grid takes its own schema or CloudEvents 1.0, recommends CloudEvents, and plans no major improvements to its own format. CloudEvents input cannot be delivered as Event Grid schema. Events can reach 1 MB, but every 64 KB counts as one event for limits and pricing.

Eventarc Standard delivers CloudEvents over HTTP in binary content mode; Advanced also delivers CloudEvents unless you define an HTTP binding. Events can be up to 512 KB on Standard and 1 MB on Advanced. Google warns that JSON payloads run larger than Protobuf ones.

Checked against: source 11, source 13, source 14, source 20, source 21, source 22, source 23, source 26, source 27

What does Eventarc Standard hand over to Pub/Sub?

Creating a trigger creates a Pub/Sub topic and subscription, though a Pub/Sub source can reuse its topic. That subscription owns the following.

  • Retries: the subscription retry policy, edited in Pub/Sub, not in Eventarc.
  • Retention: 24 hours, which Eventarc sets as the default.
  • Delivery timeout: the acknowledgment deadline, 10 seconds by default and at most 600 seconds.
  • Dead letters: a dead-letter topic on that subscription. The queue comparison covers how Pub/Sub counts attempts.
  • Lifetime: subscriptions created for Eventarc persist and do not expire.

Checked against: source 23, source 24, source 26

What else do people ask?

Does Eventarc retry a workflow that fails halfway?

No. Google says Workflows acknowledges an event as soon as the execution starts, and an execution that fails later is not retried. Errors past that point have to be caught and retried inside the workflow.

Sources

How was this page made?

I drafted this page with AI assistance from the official documents listed under Sources. Built from the EventBridge, Event Grid, Eventarc and Pub/Sub documentation as it read on 21 Nov 2026. No router, target or dead-letter queue was deployed for this page, so every retry figure is the vendor's stated default. Prices, throughput quotas, archive and replay, EventBridge Pipes and Event Grid MQTT are left out. Found a mistake? Tell me.

Keep reading

Next step

Have a project in mind?

Tell me about it. A discovery call within 48 hours.