azure-messaging
แก้ไขปัญหาและจัดการกับปัญหาที่เกิดขึ้นกับ Azure Messaging SDK สำหรับ Event Hubs และ Service Bus ครอบคลุมถึงการเชื่อมต่อล้มเหลว ข้อผิดพลาดการรับรองความถูกต้อง ปัญหาการประมวลผลข้อความ และปัญหาการกำหนดค่า SDK ใช้เมื่อ: เกิดข้อผิดพลาด event hub SDK, ปัญหา service bus SDK, การเชื่อมต่อ messaging ล้มเหลว, ข้อผิดพลาด AMQP, ปัญหา event processor host, สูญเสียการล็อกข้อความ, การล็อกข้อความหมดอายุ, การต่ออายุการล็อก, การต่ออายุการล็อกแบบกลุ่ม, การส่งหมดเวลา, ผู้รับถูกตัดการเชื่อมต่อ, การแก้ไขปัญหา SDK, azure messaging SDK, ผู้บริโภค event hub, ปัญหาคิว service bus, ข้อผิดพลาดการสมัครหัวข้อ, เปิดใช้งานการบันทึก event hub, การบันทึก service bus, eventhub python, servicebus java, eventhub javascript, servicebus dotnet, จุดตรวจสอบ event hub, event hub ไม่ได้รับข้อความ, จดหมายเสียชีวิต service bus, การประมวลผลแบบกลุ่มพร้อมการล็อก, การล็อกเซสชันหมดอายุ, การหมดเวลาไม่มีการใช้งาน, การเชื่อมต่อไม่ทำงาน, การแยกลิงก์, การเชื่อมต่อใหม่ช้า, ข้อผิดพลาดเซสชัน, เหตุการณ์ซ้ำ, การรีเซ็ตออฟเซ็ต, รับแบบกลุ่ม
npx skills add https://github.com/microsoft/skills --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.