Eventarc
Routes CloudEvents from Google Cloud sources to targets, at least once.
- Provider
- gcp
- Kind
- Pub/Sub topic
- Category
- Messaging
- Official docs
- https://cloud.google.com/eventarc/docs/overview
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| cloudEventsFormat | boolean | — | no | true | inherited |
| delivery | enum | at-most-once | at-least-once | exactly-once | yes | — | ▸ at-least-once |
| managed | boolean | — | no | false | ▸ true |
| messageRetentionHours | integer | — | no | 24 | inherited |
| ordering | enum | none | per-key | no | none | ▸ none |
| replay | boolean | — | no | false | ▸ false |
| retryBackoff | enum | exponential | fixed | no | exponential | inherited |
| topicPerEventType | boolean | — | no | true | inherited |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
pubsub-replay-required
The design declares that consumers must be able to replay history. A fan-out topic that does not retain messages cannot deliver that.
- — all of these hold:
- — the design requirement `messaging.replay` is true
- — the node's `replay` is false
nodes:
- { id: "eventarc", component: "google-eventarc" }EventBridgealibaba-eventbridgeAmazon EventBridgeaws-eventbridgeAmazon SNSsnsAzure Event Gridazure-event-gridAzure Event Grid MQTT Brokerazure-event-grid-mqttEclipse MosquittomosquittoMQTT brokermqtt-brokerNanoMQnanomqGeneric Pub/Sub topicpubsub-topicRedis Pub/Subredis-pubsubGoogle Cloud Pub/Subgoogle-pubsubOCI Eventsoci-events
# yaml-language-server: $schema=../../schema/component.schema.json # Google Cloud Eventarc trigger: routes events from Google Cloud sources to a target in CloudEvents format. # Per "Eventarc overview" delivery is at-least-once with a default message retention of 24 hours and # exponential backoff, and there is no in-order, first-in-first-out delivery guarantee. schemaVersion: "1" type: "component" id: "google-eventarc" kind: "pubsub-topic" provider: "gcp" docs: "https://cloud.google.com/eventarc/docs/overview" defaults: managed: true delivery: "at-least-once" ordering: "none" replay: false properties: messageRetentionHours: type: "integer" default: 24 retryBackoff: type: "enum" values: ["exponential", "fixed"] default: "exponential" cloudEventsFormat: type: "boolean" default: true