ApsaraMQ for RocketMQ

alibabacloudQueuealibaba-rocketmq

Distributed message queue for asynchronous communication, with ordered, transactional and scheduled messages.

Provider
alibabacloud
Kind
Queue
Category
Messaging
Properties · 4 set by this component
propertytypevaluesrequiredkind defaultthis component
backoffenumnone | fixed | exponential | exponential-jitterno—inherited
deadLetterQueueboolean—nofalseinherited
deliveryenumat-most-once | at-least-once | exactly-onceyes—▸ at-least-once
instanceVersion · component propertyenum4.x | 5.xno—inherited
instancesinteger—no—inherited
managedboolean—nofalse▸ true
maxAttemptsinteger—no—inherited
messageType · component propertyenumnormal | ordered | transactional | schedulednonormalinherited
orderingenumnone | per-key | globalnononeinherited
persistenceboolean—notrue▸ true
replayboolean—nofalse▸ true
retentionDaysinteger—no—inherited
roleenumwork | dlq | retry | offline-mailbox | frontiernoworkinherited
Rules that apply · 3

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-without-backoff

Retrying 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"
Use it in a design
nodes:
  - { id: "rocketmq", component: "alibaba-rocketmq" }
Other Queue products · 23
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# ApsaraMQ for RocketMQ: "a distributed message queue service that supports reliable message-based
# asynchronous communication among microservices, distributed systems, and serverless applications"
# ("Introduction to ApsaraMQ for RocketMQ"). Messages are persisted and redelivered until consumed,
# with ordered, transactional and scheduled messages as message types.
schemaVersion: "1"
type: "component"
id: "alibaba-rocketmq"
kind: "queue"
provider: "alibabacloud"
docs: "https://www.alibabacloud.com/help/en/apsaramq-for-rocketmq"
defaults:
  managed: true
  delivery: "at-least-once"
  persistence: true
  replay: true
properties:
  instanceVersion:
    type: "enum"
    values: ["4.x", "5.x"]
  messageType:
    type: "enum"
    values: ["normal", "ordered", "transactional", "scheduled"]
    default: "normal"

The same page as markdown, for an agent: /catalogue/components/alibaba-rocketmq.md