Google Cloud Tasks
Managed push queue that dispatches HTTP tasks with rate limiting and exponential retry.
- Provider
- gcp
- Kind
- Queue
- Category
- Messaging
- Official docs
- https://cloud.google.com/tasks/docs/dual-overview
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| backoff | enum | none | fixed | exponential | exponential-jitter | no | — | ▸ exponential |
| deadLetterQueue | boolean | — | no | false | ▸ false |
| delivery | enum | at-most-once | at-least-once | exactly-once | yes | — | ▸ at-least-once |
| instances | integer | — | no | — | inherited |
| managed | boolean | — | no | false | ▸ true |
| maxAttempts | integer | — | no | — | inherited |
| maxDispatchesPerSecond | integer | — | no | 500 | inherited |
| ordering | enum | none | per-key | global | no | none | ▸ none |
| persistence | boolean | — | no | true | ▸ true |
| replay | boolean | — | no | false | ▸ false |
| retentionDays | integer | — | no | — | ▸ 31 |
| role | enum | work | dlq | retry | offline-mailbox | frontier | no | work | 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.
queue-missing-dlq
A queue that receives asynchronous traffic and has no dead-letter queue either drops poison messages or retries them forever. Neither outcome leaves anything for a human to investigate.
- — all of these hold:
- — the node's `deadLetterQueue` is false
- — the node has at least one asynchronous incoming edge
retry-queue-without-dlq
A retry queue is where poison messages end up. With no dead-letter queue they are retried forever or dropped in silence, and nobody ever looks at the failed payment.
- — all of these hold:
- — the node's `role` is "retry"
- — the node's `deadLetterQueue` is false
Retry queue without backoffwarning
retry-without-backoffRetrying a transient failure at full speed turns one slow dependency into a retry storm. A retry queue backs off, preferably exponentially and with jitter.
- — all of these hold:
- — the node's `role` is "retry"
- — any of these hold:
- — the node's `backoff` has no value
- — the node's `backoff` is "none"
nodes:
- { id: "cloud-tasks", component: "google-cloud-tasks" }Simple Message Queue (formerly MNS)alibaba-mnsApsaraMQ for RabbitMQalibaba-rabbitmqApsaraMQ for RocketMQalibaba-rocketmqAmazon MQaws-mqAmazon SQSsqsAzure Queue Storageazure-queue-storageAzure Service Busazure-service-busCloudflare Queuescloudflare-queuesApache ActiveMQactivemqGearmangearmanIBM MQibm-mqMessage queuemessage-queueNSQnsqApache Qpid Broker-JqpidGeneric queuequeueRabbitMQrabbitmqRedis queueredis-queueSolace PubSub+ Event BrokersolaceTIBCO Enterprise Message Servicetibco-emsIBM Cloud Messages for RabbitMQibm-messages-for-rabbitmqIBM MQ on Cloudibm-mq-on-cloudOCI Queueoci-queueOpenStack Zaqaropenstack-zaqar
# yaml-language-server: $schema=../../schema/component.schema.json # Google Cloud Tasks: managed push queue that dispatches HTTP tasks with built-in exponential backoff # and retries until the 31-day maximum task age unless a queue-level limit is set. schemaVersion: "1" type: "component" id: "google-cloud-tasks" kind: "queue" provider: "gcp" docs: "https://cloud.google.com/tasks/docs/dual-overview" defaults: managed: true delivery: "at-least-once" ordering: "none" deadLetterQueue: false replay: false retentionDays: 31 persistence: true backoff: "exponential" properties: maxDispatchesPerSecond: type: "integer" default: 500