azure-messaging
作者: Azure
針對 Azure Messaging SDK(適用於 Event Hubs 和 Service Bus)進行問題排解與解決,涵蓋連線失敗、驗證錯誤、訊息處理問題以及 SDK 設定問題。
npx skills add https://github.com/microsoft/GitHub-Copilot-for-Azure --skill azure-messagingAzure 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
- Identify the SDK and version — Check the prompt for SDK and version clues; if not stated, proceed with diagnosis and ask later if needed
- Check resource health — Use
mcp_azure_mcp_resourcehealthto verify the namespace is healthy - Review the error message — Match against language-specific troubleshooting guide
- Look up documentation — Use
mcp_azure_mcp_documentationto search Microsoft Learn for the error or topic - Check configuration — Verify connection string, entity name, consumer group
- 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_documentationto search Microsoft Learn for latest guidance.
來自 Azure 的更多技能
azure-ai
Azure
用於 Azure AI:搜尋、語音、OpenAI、文件智慧。協助搜尋、向量/混合搜尋、語音轉文字、文字轉語音、轉錄、OCR。
appinsights-instrumentation
Azure
使用 Azure Application Insights 檢測 Web 應用程式的指南。提供遙測模式、SDK 設定與組態參考。
azure-aigateway
Azure
將 Azure API Management (APIM) 配置為 AI 閘道,以保護、監控、控管 AI 模型、MCP 伺服器與代理程式。有助於實現速率限制、語意快取、內容安全與負載平衡。
azure-compliance
Azure
全面的 Azure 合規性與安全稽核功能,包括最佳實務評估、Key Vault 到期監控,以及資源組態驗證。
azure-compute
Azure
根據工作負載需求、效能需求和預算限制,推薦 Azure VM 大小、VM 擴展集 (VMSS) 和配置。
azure-cost-optimization
Azure
透過分析實際成本、使用率指標,識別並量化 Azure 訂閱中的成本節約機會,並產生可行的優化建議。
azure-deploy
Azure
執行部署至 Azure。在準備與驗證後的最後步驟。執行 azd up、azd deploy 或基礎設施佈建指令。
azure-diagnostics
Azure
在 Azure 上偵錯與疑難排解生產問題,涵蓋 Container Apps 與 Function Apps 診斷、使用 KQL 進行日誌分析、健康狀態檢查及常見問題解決。