azure-messaging

bởi Azure

Khắc phục sự cố và giải quyết các vấn đề với Azure Messaging SDKs cho Event Hubs và Service Bus. Bao gồm lỗi kết nối, lỗi xác thực, vấn đề xử lý tin nhắn và vấn đề cấu hình SDK.

npx skills add https://github.com/microsoft/github-copilot-for-azure --skill azure-messaging

Azure Messaging SDK Troubleshooting

Quick Reference

PropertyValue
ServicesAzure Event Hubs, Azure Service Bus
MCP Toolsmcp_azure_mcp_eventhubs, mcp_azure_mcp_servicebus
Best ForDiagnosing 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

ToolCommandUse
mcp_azure_mcp_eventhubsNamespace/hub opsList namespaces, hubs, consumer groups
mcp_azure_mcp_servicebusQueue/topic opsList namespaces, queues, topics, subscriptions
mcp_azure_mcp_monitorlogs_queryQuery diagnostic logs with KQL
mcp_azure_mcp_resourcehealthgetCheck service health status
mcp_azure_mcp_documentationDoc searchSearch 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.

Thêm skills từ Azure

azure-cost-optimization
Azure
Xác định và định lượng các khoản tiết kiệm chi phí trên các đăng ký Azure bằng cách phân tích chi phí thực tế, số liệu sử dụng và đưa ra các khuyến nghị tối ưu hóa có thể thực hiện được.
azure-hosted-copilot-sdk
Azure
Xây dựng và triển khai các ứng dụng GitHub Copilot SDK lên Azure.
azure-observability
Azure
Các dịch vụ quan sát Azure bao gồm Azure Monitor, Application Insights, Log Analytics, Alerts và Workbooks. Cung cấp số liệu, APM, theo dõi phân tán, truy vấn KQL và báo cáo tương tác.
azure-rbac
Azure
Giúp người dùng tìm vai trò Azure RBAC phù hợp cho một định danh với quyền truy cập tối thiểu, sau đó tạo lệnh CLI và mã Bicep để gán vai trò đó.
azure-resource-visualizer
Azure
Phân tích các nhóm tài nguyên Azure và tạo sơ đồ kiến trúc Mermaid chi tiết hiển thị mối quan hệ giữa các tài nguyên riêng lẻ.
azure-ai
Azure
Sử dụng cho Azure AI: Tìm kiếm, Giọng nói, OpenAI, Trí tuệ Tài liệu. Hỗ trợ tìm kiếm, tìm kiếm vector/kết hợp, chuyển giọng nói thành văn bản, chuyển văn bản thành giọng nói, phiên âm, OCR.
azure-kusto
Azure
Truy vấn và phân tích dữ liệu trong Azure Data Explorer (Kusto/ADX) bằng KQL cho phân tích nhật ký, đo từ xa và phân tích chuỗi thời gian.
azure-diagnostics
Azure
Gỡ lỗi và khắc phục sự cố sản xuất trên Azure. Bao gồm chẩn đoán Container Apps và Function Apps, phân tích nhật ký với KQL, kiểm tra tình trạng và giải quyết các vấn đề phổ biến.