AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Azure Messaging

skill-manu14357-zskills-azure-messaging · by manu14357

>

No reviews yet
0 installs
36 views
0.0% view→install

Install

$ agentstack add skill-manu14357-zskills-azure-messaging

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-manu14357-zskills-azure-messaging)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Azure Messaging? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Azure Messaging

Choose the right Azure messaging service and delivery semantics for reliable, decoupled, event-driven systems. Handle retries, failures, and exactly-once processing.

Use This Skill When

  • The user needs asynchronous processing design (commands, events, streams)
  • The user asks about retries, dead-lettering, idempotency, or ordering
  • The user needs to decouple systems via events or messaging
  • The user needs high-throughput streaming or reactive patterns

Context: Messaging Maturity

Immature: Synchronous API calls, no retries, tightly coupled Developing: Simple queues created, basic retry logic Managed: Service Bus/Event Hub with DLQ, idempotency, monitoring → Target Optimized: Saga pattern for distributed transactions, stream processing, real-time analytics

Required Inputs

  • Message pattern: Command (request-response), Event (pub-sub), Stream (high-volume telemetry)
  • Throughput: 100 msg/sec? 1M msg/sec?
  • Latency: 10,000 msg/sec → Event Hubs

└─ Needs low latency ( { try { var message = args.Message; var orderId = message.ApplicationProperties["OrderId"];

// Idempotency check if (await database.OrderProcessed(orderId)) { await args.CompleteMessageAsync(message); return; }

// Process order await ProcessOrder(orderId); await args.CompleteMessageAsync(message); } catch (Exception ex) { // Retry automatically (up to max-delivery-count) // After max retries, goes to DLQ throw; // Nack, retry } };

processor.ProcessErrorAsync += args => { Console.WriteLine($"Error: {args.Exception}"); return Task.CompletedTask; };

await processor.StartProcessingAsync(); ```

  1. Monitor DLQ (failed messages):

``bash # Peek at DLQ az servicebus queue peek \ --namespace-name "sb-${app}-${env}" \ --resource-group $RG \ --name "order-processing/$DeadLetterQueue" ``

Phase 5: Ensure Exactly-Once Processing (Idempotency)

  1. Deduplication ID (Service Bus):

`` Message A sent with MessageId="order-123" ├─ First delivery: Processed ✓ ├─ Retry (within 5-min window): Not reprocessed (dedup) └─ After 5 min: Can send again (different transaction) ``

  1. Idempotency key in handler (Event Hub, Storage Queue):

```python # Python def processorder(event): orderid = event['OrderId']

# Check if already processed if db.query(f"SELECT * FROM processedorders WHERE orderid = {order_id}"): return # Already done, idempotent

# Process db.insert("orders", {"id": orderid, "status": "processing"}) # ... fulfill order ... db.insert("processedorders", {"orderid": orderid, "timestamp": now()}) ```

Phase 6: Scaling & Partitioning

  1. Service Bus (sharding via topics/queues):

``` Instead of: Single queue "orders" (bottleneck at scale) Use: 10 queues: "orders-0", "orders-1", ..., "orders-9"

Producer hashes order_id % 10 → routes to specific queue Consumers: One per queue for parallelism ```

  1. Event Hubs (partitions):

```bash # 4 partitions = 4 independent streams # Each consumer group member gets 1 partition # Max throughput: ~1M events/sec with 32 partitions

# Each partition maintains ordering FIFO per session_id ```

Phase 7: Monitoring & Alerting

  1. Setup monitoring:

``bash az monitor metrics list \ --resource-group $RG \ --resource-type "Microsoft.ServiceBus/namespaces" \ --resource-id "sb-${app}-${env}" \ --metric "ActiveMessageCount,DeadletteredMessageCount" ``

  1. Alerts:
  • Active message count > 10,000 (backlog building)
  • Dead-lettered message count > 0 (failures happening)
  • Consumer lag > 1 hour (consumer slow/stopped)
  • Message age > TTL (about to expire)

Output Contract

  1. Messaging Architecture
  • Service chosen (Queue, Topic, Event Hub)
  • Number of queues/topics, partitions
  • Consumer count and groups
  1. Delivery & Ordering Design
  • Delivery guarantee: At most once, at least once, exactly once
  • Ordering requirements (FIFO per partition? Global?)
  • Idempotency strategy (dedup ID, business key check)
  1. Failure Handling
  • Max retries before DLQ
  • DLQ monitoring and remediation process
  • Message TTL (time to live)
  1. Configuration & Access
  • Connection strings or managed identity scopes
  • Queue/topic names and subscription details
  • Retention policy (1-30 days)
  1. Operations Checklist
  • Alerts configured for backlog, lag, DLQ
  • DLQ monitoring and replay procedure
  • Capacity planning (throughput targets)

Guardrails

  • Always define a DLQ: Dead-lettered messages need handling (manual replay or archive).
  • Implement idempotency: Assume messages arrive >1 time; handle gracefully.
  • Use TTL (time-to-live): Prevent stale messages; auto-expire to DLQ.
  • Monitor backlog: If active message count grows, consumer is slow.
  • Partition for scale: Don't use single queue for >2K msg/sec.
  • Log message content (redacted): Include order ID, not full message body (size/privacy).
  • Test failure scenarios: What if consumer crashes mid-processing? Does DLQ work?
  • Avoid coupling: Producers and consumers should not know each other.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.