Azure Messaging
组织热门microsoft
azure-messaging
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.
概览
| 发布者 | microsoft |
| 代码仓库 | azure-skills |
| 技能名称 | azure-messaging |
| 星标数 | |
| 复刻数 | |
| 附带文件 | |
| 许可协议 | MIT |
| 链接 | |
Markdown 格式的指令
模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。
兼容任何大语言模型
AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。
指令自成一体
模型所需的一切都包含在指令中,无需同步额外文件。
开源
由 microsoft 发布于 GitHub。请在安装前查看技能的源文件。
安装
在 TypingMind 中安装 Azure Messaging AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。
1
安装到 TypingMind
TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。
- 打开应用,前往“插件 → 技能”。
- 选择“从 GitHub 安装”。
- 粘贴下方的技能文件夹 URL 并确认。
https://github.com/microsoft/azure-skills/tree/main/skills/azure-messaging - 请在每个需要使用该技能的聊天中启用它。
添加技能
从公开的 GitHub 文件夹、本地 .skill 或 .zip 归档文件,或 SKILL.md 文件中导入一个或多个技能。
从 GitHub URL 导入从 .skill、.zip 或 SKILL.md 导入
GitHub 仓库或文件夹
https://github.com/microsoft/azure-skills/tree/main/skills/azure-messaging
指向单个技能文件夹,或包含多个技能的文件夹。仅支持公开仓库。
取消继续
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。2
安装到其他智能体
任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。
Claude Code — .claude/skills
git clone --depth 1 https://github.com/microsoft/azure-skills.git /tmp/azure-skills
mkdir -p .claude/skills
cp -r /tmp/azure-skills/skills/azure-messaging .claude/skills/azure-messaging
复制后,请重启 Claude Code,以加载新技能。
在 TypingMind 中使用此技能
在任意 TypingMind 聊天中启用 Azure Messaging,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。
DeepSeek V4 一旦请求与技能匹配,模型就会自动加载 Azure Messaging。兼容任何 AI 模型
AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Azure Messaging 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。
仅在需要时加载
系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。
在聊天中切换模型
技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。
技能指令
这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。
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
- 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_resourcehealth to verify the namespace is healthy
- Review the error message — Match against language-specific troubleshooting guide
- Look up documentation — Use
mcp_azure_mcp_documentation to 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_documentation to search Microsoft Learn for latest guidance.