Agent Skillsmicrosoft/azure-skills › azure-messaging

azure-messaging

GitHub

用于排查 Azure Event Hubs 和 Service Bus SDK 的连接、认证及消息处理问题,提供诊断工作流和工具调用指南。

.github/plugins/azure-skills/skills/azure-messaging/SKILL.md microsoft/azure-skills

Trigger Scenarios

SDK 连接失败或 AMQP 错误 消息锁丢失或过期 事件处理器停止处理 SDK 配置问题

Install

npx skills add microsoft/azure-skills --skill azure-messaging -g -y
More Options

Non-standard path

npx skills add https://github.com/microsoft/azure-skills/tree/main/.github/plugins/azure-skills/skills/azure-messaging -g -y

Use without installing

npx skills use microsoft/azure-skills@azure-messaging

指定 Agent (Claude Code)

npx skills add microsoft/azure-skills --skill azure-messaging -a claude-code -g -y

安装 repo 全部 skill

npx skills add microsoft/azure-skills --all -g -y

预览 repo 内 skill

npx skills add microsoft/azure-skills --list

SKILL.md

Frontmatter
{
    "name": "azure-messaging",
    "license": "MIT",
    "metadata": {
        "author": "Microsoft",
        "version": "1.2.1"
    },
    "description": "Troubleshoot and resolve issues with Azure Messaging SDKs for Event Hubs and Service Bus. Covers connection failures, authentication errors, message processing issues, and SDK configuration problems. WHEN: event hub SDK error, service bus SDK issue, messaging connection failure, AMQP error, event processor host issue, message lock lost, message lock expired, lock renewal, lock renewal batch, send timeout, receiver disconnected, SDK troubleshooting, azure messaging SDK, event hub consumer, service bus queue issue, topic subscription error, enable logging event hub, service bus logging, eventhub python, servicebus java, eventhub javascript, servicebus dotnet, event hub checkpoint, event hub not receiving messages, service bus dead letter, batch processing lock, session lock expired, idle timeout, connection inactive, link detach, slow reconnect, session error, duplicate events, offset reset, receive batch."
}

Azure Messaging SDK Troubleshooting

Quick Reference

Property Value
Services Azure Event Hubs, Azure Service Bus
MCP Tools mcp_azure_mcp_eventhubs, mcp_azure_mcp_servicebus
Best For Diagnosing SDK connection, auth, and message processing issues

When to Use This Skill

  • SDK connection failures, auth errors, or AMQP link errors
  • Idle timeout, connection inactivity, or slow reconnection after disconnect
  • AMQP link detach or detach-forced errors
  • Message lock lost, message lock expired, lock renewal failures, or batch lock timeouts
  • Session lock lost, session lock expired, or session receiver errors
  • Event processor or message handler stops processing
  • Duplicate events or checkpoint offset resets
  • SDK configuration questions (retry, prefetch, batch size, receive batch behavior)

MCP Tools

Tool Command Use
mcp_azure_mcp_eventhubs Namespace/hub ops List namespaces, hubs, consumer groups
mcp_azure_mcp_servicebus Queue/topic ops List namespaces, queues, topics, subscriptions
mcp_azure_mcp_monitor logs_query Query diagnostic logs with KQL
mcp_azure_mcp_resourcehealth get Check service health status
mcp_azure_mcp_documentation Doc search Search Microsoft Learn for troubleshooting docs

Diagnosis Workflow

  1. Identify the SDK and version — Check the prompt for SDK and version clues; if not stated, proceed with diagnosis and ask later if needed
  2. Check resource health — Use mcp_azure_mcp_resourcehealth to verify the namespace is healthy
  3. Review the error message — Match against language-specific troubleshooting guide
  4. Look up documentation — Use mcp_azure_mcp_documentation to search Microsoft Learn for the error or topic
  5. Check configuration — Verify connection string, entity name, consumer group
  6. Recommend fix — Apply remediation, citing documentation found

Troubleshooting Guides

Connectivity, SDK, and auth troubleshooting guides are located in the azure-diagnostics skill under troubleshooting/messaging/.

References

  • Use mcp_azure_mcp_documentation to search Microsoft Learn for latest guidance.

Version History

  • ea76537 Current 2026-08-20 03:56
  • 013b97d 2026-07-25 09:44

Same Skill Collection

.github/plugins/azure-kusto-graph-skills/skills/azure-kusto-irql/SKILL.md
.github/plugins/azure-skills/skills/airunway-aks-setup/SKILL.md
.github/plugins/azure-skills/skills/appinsights-instrumentation/SKILL.md
.github/plugins/azure-skills/skills/azure-ai/SKILL.md
.github/plugins/azure-skills/skills/azure-aigateway/SKILL.md
.github/plugins/azure-skills/skills/azure-cloud-migrate/SKILL.md
.github/plugins/azure-skills/skills/azure-compliance/SKILL.md
.github/plugins/azure-skills/skills/azure-cost/SKILL.md
.github/plugins/azure-skills/skills/azure-kusto/SKILL.md
.github/plugins/azure-skills/skills/azure-quotas/SKILL.md
.github/plugins/azure-skills/skills/azure-resource-visualizer/SKILL.md
.github/plugins/azure-skills/skills/azure-upgrade/SKILL.md
.github/plugins/azure-skills/skills/entra-app-registration/SKILL.md
.github/plugins/azure-skills/skills/python-appservice-deploy/SKILL.md
skills/airunway-aks-setup/SKILL.md
skills/appinsights-instrumentation/SKILL.md
skills/azure-ai/SKILL.md
skills/azure-aigateway/SKILL.md
skills/azure-cloud-migrate/SKILL.md
skills/azure-compliance/SKILL.md
skills/azure-cost/SKILL.md
skills/azure-kubernetes/azure-kubernetes-automatic-readiness/SKILL.md
skills/azure-kusto/SKILL.md
skills/azure-quotas/SKILL.md
skills/azure-resource-visualizer/SKILL.md
skills/azure-upgrade/SKILL.md
skills/entra-app-registration/SKILL.md
skills/python-appservice-deploy/SKILL.md
.github/plugins/azure-kusto-graph-skills/skills/azure-kusto-graph/SKILL.md
.github/plugins/azure-kusto-graph-skills/skills/azure-kusto-irql-graph/SKILL.md
.github/plugins/azure-skills/skills/azure-app-onboard-prereq/SKILL.md
.github/plugins/azure-skills/skills/azure-app-onboard/SKILL.md
.github/plugins/azure-skills/skills/azure-compute/SKILL.md
.github/plugins/azure-skills/skills/azure-deploy/SKILL.md
.github/plugins/azure-skills/skills/azure-diagnostics/SKILL.md
.github/plugins/azure-skills/skills/azure-enterprise-infra-planner/SKILL.md
.github/plugins/azure-skills/skills/azure-kubernetes/SKILL.md
.github/plugins/azure-skills/skills/azure-prepare/SKILL.md
.github/plugins/azure-skills/skills/azure-reliability/SKILL.md
.github/plugins/azure-skills/skills/azure-resource-lookup/SKILL.md
.github/plugins/azure-skills/skills/azure-storage/SKILL.md
.github/plugins/azure-skills/skills/azure-validate/SKILL.md
.github/plugins/azure-skills/skills/entra-agent-id/SKILL.md
.github/plugins/azure-skills/skills/microsoft-foundry/SKILL.md
skills/azure-app-onboard-prereq/SKILL.md
skills/azure-app-onboard/SKILL.md
skills/azure-compute/SKILL.md
skills/azure-deploy/SKILL.md
skills/azure-diagnostics/SKILL.md

Metadata

Files
0
Version
ea76537
Hash
36f2b20f
Indexed
2026-07-25 09:44

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 07:56
浙ICP备14020137号-1 $mapa de visitantes$