alibaba-event-driven-architecture-review
Review Alibaba Cloud EventBridge, MNS (Message Notification Service), RocketMQ, and MSE event-driven designs — dead-letter queues, message ordering, idempotency, retry storm prevention, schema registry, and consumer group lag monitoring.
Install
npx skills add https://github.com/VincentChuWaiChow/vanguard-frontier-agentic/tree/master/skills/alibaba/alibaba-event-driven-architecture-review
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install vincentchuwaichow-vanguard-frontier-agentic@llmmart
git clone https://github.com/VincentChuWaiChow/vanguard-frontier-agentic.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole vincentchuwaichow/vanguard-frontier-agentic collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Alibaba Cloud Event-Driven Architecture Review
Purpose
Act as the Alibaba Cloud event-driven architecture reviewer who evaluates messaging topology designs, identifies reliability and observability gaps, and recommends hardening actions for EventBridge, MNS, RocketMQ, and MSE deployments.
When to use
Use this skill for:
- reviewing EventBridge event bus configuration, routing rules, and target timeout alignment
- auditing MNS queue DLQ configuration and retry policy
- assessing RocketMQ topic, consumer group, and orderly consumption design
- evaluating MSE (Managed Service for Kafka/RocketMQ) consumer group lag monitoring
- checking schema registry adoption and backward/forward compatibility
- identifying retry storm and cascading failure patterns
- distinguishing CN-* mainland China region limitations from international region features
Lean operating rules
- Prefer sanitized Alibaba Cloud Console evidence or aliyun CLI output for live state grounding. If live tooling is unavailable, say so and fall back to official Alibaba Cloud documentation.
- Separate confirmed facts from inference. Label each finding explicitly.
- MNS queues without a dead-letter queue silently drop messages after max retry attempts — always verify DLQ configuration for business-critical message flows.
- Never ask for AccessKey IDs, topic names containing customer data, or consumer group credentials.
- Distinguish CN-* mainland China regions from international regions — features and service limits differ and cannot be assumed to be equivalent.
Key event-driven guidance
- MNS (Message Notification Service): queue-based pull model; without a DLQ, messages are dropped after
MaxReceiveCountretries; always configure DLQ for business-critical flows. - RocketMQ (ApsaraMQ): supports orderly and concurrent consumption; orderly consumption guarantees per-queue ordering but requires single-threaded consumers per queue — multi-threaded orderly consumers will lose ordering guarantees.
- EventBridge: push model to FC3, API Gateway, MNS, and more; push timeout is 600 seconds per invocation; target must respond within that window or the event is dropped; retry policy applies to failed pushes only, not timeouts.
- MSE Kafka: consumer group rebalance storms occur during rolling deployments when
session.timeout.msis too short relative to restart duration — tunemax.poll.interval.msandsession.timeout.mstogether. - Consumer lag: consumer group lag is the leading indicator of consumer failure in both RocketMQ and MSE Kafka — CloudMonitor alerts on lag must be configured for all production consumer groups.
- Schema registry: EventBridge schema registry enables event schema discovery and code generation; without it, producer schema changes silently break consumers.
References
Load these only when needed:
- Workflow and output contract — use when executing the full event-driven architecture review or formatting the final assessment output.
- Official sources — use when grounding Alibaba Cloud service behavior or product feature claims.
Response minimum
Return, at minimum:
- the event flow topology and service selection assessment,
- dead-letter queue and retry configuration for each messaging service,
- message ordering and idempotency posture,
- consumer capacity and lag monitoring coverage,
- schema evolution and compatibility risks,
- retry storm and cascading failure risks,
- prioritized hardening recommendations.
Files (vanguard-frontier-agentic)
-
references
-
official-sources.md 1.3 KB
# Official sources Use this reference only when you need source grounding for Alibaba Cloud event-driven service behavior or the detailed source list. ## Alibaba Cloud documentation Use these as starting points, not as proof of the user's live Alibaba Cloud state: - https://www.alibabacloud.com/help/en/eventbridge/latest/what-is-eventbridge - https://www.alibabacloud.com/help/en/eventbridge/latest/event-bus-overview - https://www.alibabacloud.com/help/en/message-service/latest/what-is-mns - https://www.alibabacloud.com/help/en/message-service/latest/configure-a-dead-letter-queue - https://www.alibabacloud.com/help/en/apsaramq-for-rocketmq/latest/what-is-rocketmq - https://www.alibabacloud.com/help/en/apsaramq-for-rocketmq/latest/ordered-messages - https://www.alibabacloud.com/help/en/mse/latest/overview-of-mse ## Grounding rule Official documentation explains Alibaba Cloud service behavior and feature availability. It does not prove the user's current queue configuration, consumer group state, or lag metrics. Prefer live Alibaba Cloud console evidence or sanitized user-provided evidence for current-state claims. CN-* mainland China region feature availability may differ from international regions — always confirm region context before citing feature availability. -
workflow-and-output.md 3 KB
# Workflow and output contract Use this reference only when performing a full event-driven architecture review or reliability assessment. ## Review domains Check these areas before giving a recommendation: - Event flow topology: service selection (EventBridge / MNS / RocketMQ / MSE Kafka) and justification - Dead-letter queue configuration: presence, retention period, monitoring alerts - Message ordering: orderly vs concurrent consumption, consumer thread model alignment - Idempotency: consumer deduplication strategy and unique message ID usage - Consumer lag: CloudMonitor alerts configured for lag thresholds on all production consumer groups - Schema registry: EventBridge schema registry adoption and compatibility mode - Retry storm risk: max retry depth, backoff strategy, circuit breaker presence - Region context: CN-* mainland China vs international — feature and limit differences ## Safe workflow 1. **Frame the architecture** - Messaging services in use: - Event flow description (producers, topics/queues, consumers): - Region context (CN-* vs international): - Criticality of each message flow: 2. **Collect evidence** - Prefer live CloudMonitor metrics, queue configuration screenshots, or aliyun CLI output. - Otherwise inspect IaC, sanitized user evidence, or official Alibaba Cloud docs. - Label each finding as `live evidence`, `repo evidence`, `user-provided evidence`, `documentation-based`, or `inference`. 3. **Stress-test the design** - What happens if a consumer crashes mid-processing? - Are messages durably retained and replayable after consumer failure? - Does consumer lag breach the DLQ trigger before the consumer recovers? - What is the retry depth before a message is dropped or sent to DLQ? - Can schema changes break consumers silently? 4. **Recommend the smallest safe next step** - Prioritize by risk: missing DLQ > no lag monitoring > no idempotency strategy > missing schema registry. - If the safest action is to add a DLQ before anything else, say that plainly. ## Output contract Return this structure: ```markdown # Alibaba Cloud Event-Driven Architecture Review: <scope> ## Executive summary - Reliability posture verdict: - Evidence level: - Critical gaps: ## Event flow topology | Producer | Service | Topic/Queue | Consumer | Criticality | |---|---|---|---|---| ## Dead-letter queue and retry assessment | Queue/Topic | DLQ configured | Max retries | DLQ monitoring | Gap | |---|---|---|---|---| ## Ordering and idempotency posture - Ordering model: - Consumer thread model alignment: - Idempotency strategy: ## Consumer lag monitoring - CloudMonitor alerts configured: - Lag thresholds: - Gaps: ## Schema evolution risks - Schema registry adopted: - Compatibility mode: - Breaking change risks: ## Retry storm and cascading failure risks - Max retry depth: - Backoff strategy: - Circuit breaker presence: ## Recommended hardening actions 1. <action> — priority: <critical/high/medium>, effort: <low/medium/high> ## Open questions 1. <question> — owner: <owner>, impact: <impact if unresolved> ```
-
-
metadata.json 1.3 KB
{ "id": "alibaba-event-driven-architecture-review", "name": "Alibaba Cloud Event-Driven Architecture Review", "type": "skill", "provider": "alibaba", "harnesses": [ "codex", "claude-code", "cursor", "gemini", "kiro", "other" ], "summary": "Review Alibaba Cloud EventBridge, MNS (Message Notification Service), RocketMQ, and MSE event-driven designs — dead-letter queues, message ordering, idempotency, retry storm prevention, schema registry, and consumer group lag monitoring.", "source_type": "original", "official_docs": [ "https://www.alibabacloud.com/help/en/eventbridge/latest/what-is-eventbridge", "https://www.alibabacloud.com/help/en/message-service/latest/what-is-mns", "https://www.alibabacloud.com/help/en/apsaramq-for-rocketmq/latest/what-is-rocketmq", "https://www.alibabacloud.com/help/en/mse/latest/overview-of-mse" ], "security_notes": "Alibaba Cloud EventBridge event buses can be public — restrict event bus policies to specific source services and target endpoints. MNS message bodies may contain sensitive data — use SSE encryption at rest for MNS queues in regulated environments.", "last_verified": "2026-05-09", "path": "skills/alibaba/alibaba-event-driven-architecture-review", "author": "github: VincentChuWaiChow", "version": "0.1.0" } -
SKILL.md 3.9 KB
--- name: alibaba-event-driven-architecture-review description: Review Alibaba Cloud EventBridge, MNS (Message Notification Service), RocketMQ, and MSE event-driven designs — dead-letter queues, message ordering, idempotency, retry storm prevention, schema registry, and consumer group lag monitoring. allowed-tools: Read Grep Glob metadata: author: "github: VincentChuWaiChow" version: "0.1.0" updated: "2026-05-09" category: platform --- # Alibaba Cloud Event-Driven Architecture Review ## Purpose Act as the Alibaba Cloud event-driven architecture reviewer who evaluates messaging topology designs, identifies reliability and observability gaps, and recommends hardening actions for EventBridge, MNS, RocketMQ, and MSE deployments. ## When to use Use this skill for: - reviewing EventBridge event bus configuration, routing rules, and target timeout alignment - auditing MNS queue DLQ configuration and retry policy - assessing RocketMQ topic, consumer group, and orderly consumption design - evaluating MSE (Managed Service for Kafka/RocketMQ) consumer group lag monitoring - checking schema registry adoption and backward/forward compatibility - identifying retry storm and cascading failure patterns - distinguishing CN-* mainland China region limitations from international region features ## Lean operating rules - Prefer sanitized Alibaba Cloud Console evidence or aliyun CLI output for live state grounding. If live tooling is unavailable, say so and fall back to official Alibaba Cloud documentation. - Separate confirmed facts from inference. Label each finding explicitly. - MNS queues without a dead-letter queue silently drop messages after max retry attempts — always verify DLQ configuration for business-critical message flows. - Never ask for AccessKey IDs, topic names containing customer data, or consumer group credentials. - Distinguish CN-* mainland China regions from international regions — features and service limits differ and cannot be assumed to be equivalent. ## Key event-driven guidance - **MNS (Message Notification Service)**: queue-based pull model; without a DLQ, messages are dropped after `MaxReceiveCount` retries; always configure DLQ for business-critical flows. - **RocketMQ (ApsaraMQ)**: supports orderly and concurrent consumption; orderly consumption guarantees per-queue ordering but requires single-threaded consumers per queue — multi-threaded orderly consumers will lose ordering guarantees. - **EventBridge**: push model to FC3, API Gateway, MNS, and more; push timeout is 600 seconds per invocation; target must respond within that window or the event is dropped; retry policy applies to failed pushes only, not timeouts. - **MSE Kafka**: consumer group rebalance storms occur during rolling deployments when `session.timeout.ms` is too short relative to restart duration — tune `max.poll.interval.ms` and `session.timeout.ms` together. - **Consumer lag**: consumer group lag is the leading indicator of consumer failure in both RocketMQ and MSE Kafka — CloudMonitor alerts on lag must be configured for all production consumer groups. - **Schema registry**: EventBridge schema registry enables event schema discovery and code generation; without it, producer schema changes silently break consumers. ## References Load these only when needed: - [Workflow and output contract](references/workflow-and-output.md) — use when executing the full event-driven architecture review or formatting the final assessment output. - [Official sources](references/official-sources.md) — use when grounding Alibaba Cloud service behavior or product feature claims. ## Response minimum Return, at minimum: - the event flow topology and service selection assessment, - dead-letter queue and retry configuration for each messaging service, - message ordering and idempotency posture, - consumer capacity and lag monitoring coverage, - schema evolution and compatibility risks, - retry storm and cascading failure risks, - prioritized hardening recommendations.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.