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-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.
appinsights-instrumentation
Azure
Hướng dẫn về việc đo lường ứng dụng web với Azure Application Insights. Cung cấp các mẫu telemetry, thiết lập SDK và tham chiếu cấu hình.
azure-aigateway
Azure
Cấu hình Azure API Management (APIM) làm AI Gateway để bảo mật, quan sát, kiểm soát các mô hình AI, máy chủ MCP, tác nhân. Hỗ trợ giới hạn tốc độ, bộ nhớ đệm ngữ nghĩa, an toàn nội dung, cân bằng tải.
azure-compliance
Azure
Khả năng kiểm tra tuân thủ và bảo mật toàn diện của Azure bao gồm đánh giá các phương pháp hay nhất, giám sát hết hạn Key Vault và xác thực cấu hình tài nguyên.
azure-compute
Azure
Đề xuất kích thước máy ảo Azure, VM Scale Sets (VMSS) và cấu hình dựa trên yêu cầu khối lượng công việc, nhu cầu hiệu suất và hạn chế ngân sách.
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-deploy
Azure
Thực thi triển khai lên Azure. Bước cuối cùng sau khi chuẩn bị và xác thực. Chạy các lệnh azd up, azd deploy hoặc cung cấp hạ tầng.
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.