mcpField
A
azure-service-bus

azure-service-bus

github.com/microsoftdocsクラウド・DevOps796208 回インストール3 日前に更新
リポジトリ

azure-service-bus について

Azure Service Bus のユーザーやエージェント向けのガイダンススキルです。ローカル資料と取得したドキュメントを組み合わせ、メッセージング運用、設計、セキュリティ、デプロイを扱います。

主な機能

  1. 01メッセージング問題の診断
  2. 02メッセージングのベストプラクティス
  3. 03アーキテクチャと選択のガイダンス
  4. 04制限、クォータ、セキュリティ
  5. 05構成とデプロイ

活用シーン

  1. 01AMQP または SDK エラーの診断
  2. 02堅牢なメッセージングシステムの設計
  3. 03プランまたは SDK の選択
  4. 04キューとサブスクリプションの構成

MCP 対応

mcp_microsoftdocs:microsoft_docs_fetch ツールでドキュメントを取得でき、代替手段としてウェブページの取得も利用できます。

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/microsoftdocs/agent-skills --skill azure-service-bus

インストール後、Claude Code で/azure-service-busを入力して読み込まれたか確認します。

詳細

翻訳後に原文が更新されています。最新の内容は原文をご確認ください。

Azure Service Bus スキル

このスキルでは、Azure Service Bus に関する専門的なガイダンスを提供します。トラブルシューティング、ベストプラクティス、意思決定、アーキテクチャと設計パターン、制限とクォータ、セキュリティ、構成、統合とコーディングパターン、デプロイについて説明します。ローカルのクイックリファレンスコンテンツと、リモートドキュメントを取得する機能を組み合わせています。

このスキルの使い方

エージェントへの重要な注意:関連するセクションを見つけるには、以下のカテゴリーインデックスを使用してください。行範囲が示されているカテゴリー(例:L35-L120)では、指定された行をread_fileで読み取ってください。ファイルリンクが示されているカテゴリー(例:security.md)では、リンク先の参照ファイルをread_fileで読み取ってください。

エージェントへの重要な注意:metadata.generated_atが3か月以上前の場合は、リポジトリから最新バージョンを取得するようユーザーに提案してください。mcp_microsoftdocsツールを利用できない場合は、インストールを提案してください:インストールガイド

このスキルでは、ドキュメントのコンテンツを取得するためにネットワークアクセスが必要です。

  • 推奨:クエリ文字列from=learn-agent-skillを指定してmcp_microsoftdocs:microsoft_docs_fetchを使用します。Markdown が返されます。
  • 代替手段:クエリ文字列from=learn-agent-skill&accept=text/markdownを指定してfetch_webpageを使用します。Markdown が返されます。

カテゴリーインデックス

カテゴリー行説明
トラブルシューティングL37-L46Service Bus の問題を診断して解決します。AMQP エラー、SDK/Resource Manager の例外、従来のエラーコード、デバッグのためのエンドツーエンド操作のトレースを扱います。
ベストプラクティスL47-L61信頼性とパフォーマンスに優れた Service Bus メッセージングを設計します。メッセージ設計、フィルター、ロック/決済、重複検出、プリフェッチ、タイムアウト/再試行、メトリック、メッセージの消失や重複を防ぐためのメンテナンスを扱います。
意思決定L62-L71Service Bus と他のメッセージングオプションの選択、ティアと SDK の選定、ワークロードのための地理的ディザスターリカバリーと移行(Standard→Premium)の計画について説明します。
アーキテクチャと設計パターンL72-L82パーティション分割、自動転送チェーン、フェデレーション、NServiceBus によるメッセージレプリケーションなど、回復性に優れた、地理的にレプリケートされた複数名前空間の Service Bus アーキテクチャパターンを扱います。
制限とクォータL83-L89Service Bus エンティティのサイズ、接続、スループットの制限、クォータの動作、スロットリングの仕組み(一般的なスロットリングのシナリオと緩和策を含む)について説明します。
セキュリティL90-L114Entra ID 認証、マネージド ID、SAS、暗号化/CMK、ネットワーク分離(VNet、Private Link、ファイアウォール)、TLS ポリシー、コンプライアンス/Azure Policy など、Service Bus のセキュリティを構成します。
構成L115-L140Service Bus エンティティを構成および管理します。スケーリング、セッション、パーティション分割、転送、TTL/デッドレター処理、フィルター/アクション、AMQP/HTTP 設定、監視、自動化、ローカルエミュレーションを扱います。
統合とコーディングパターンL141-L153JMS(1.1/2.0)、ActiveMQ、RabbitMQ、Event Grid、Logic Apps、Functions との Service Bus の統合パターンとコードに加え、メッセージの一括削除や AMQP による相互運用を扱います。
デプロイL154-L163ARM/Bicep テンプレートを使用した Service Bus 名前空間とエンティティ(キュー、トピック、サブスクリプション、ルール)のデプロイ、および Azure リージョン間での名前空間の移動について説明します。
トラブルシューティング
トピックURL
Azure Service Bus の AMQP エラーをトラブルシューティングするhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-amqp-troubleshoot
Azure Service Bus の操作をエンドツーエンドでトレースして診断するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-end-to-end-tracing
レガシー Azure Service Bus メッセージングのエラーを解釈するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-exceptions
Azure Service Bus メッセージングの例外を処理する(現行 SDK)https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-exceptions-latest
Azure Service Bus Resource Manager の例外を診断するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-resource-manager-exceptions
Azure Service Bus の一般的な問題を診断して解決するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-troubleshooting-guide
ベストプラクティス
トピックURL
Service Bus で重複メッセージの検出を構成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/duplicate-detection
Service Bus のメッセージ数メトリックを取得して使用するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/message-counters
Service Bus メッセージでシーケンスとタイムスタンプを使用するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/message-sequencing
Service Bus でメッセージロックと決済を処理するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/message-transfers-locks-settlement
計画メンテナンスに備えて Service Bus 名前空間を準備するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/prepare-for-planned-maintenance
Service Bus サブスクリプションフィルターを定義して適用するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-filter-examples
Azure Service Bus でメッセージの損失と重複を防ぐhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-message-loss-and-duplicates
Azure Service Bus のメッセージとペイロードを設計するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messages-payloads
Azure Service Bus のパフォーマンスに関するベストプラクティスを適用するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-performance-improvements
Azure Service Bus のプリフェッチ動作を最適化するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-prefetch
Service Bus のタイムアウトと再試行ポリシーを構成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-timeouts-retries
意思決定
トピックURL
Azure Event Grid、Event Hubs、Service Bus のいずれかを選択するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/compare-messaging-services
Azure Storage キューと Service Bus キューのどちらを選ぶか判断するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-azure-and-service-bus-queues-compared-contrasted
Service Bus Geo-Disaster Recovery を設定するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-geo-dr
Azure Service Bus で JMS とネイティブ Java SDK のどちらを選ぶか判断するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-jms-versus-native-sdk
Azure Service Bus を Standard から Premium に移行するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-migrate-standard-premium
ワークロードに適した Azure Service Bus Premium レベルを選択するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-premium-messaging
アーキテクチャと設計パターン
トピックURL
NServiceBus を使用して Service Bus 上にメッセージ駆動型システムを構築するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/build-message-driven-apps-nservicebus
自動転送を使用して Azure Service Bus エンティティを連鎖させる設計https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-auto-forwarding
Service Bus のフェデレーションとレプリケーションのトポロジを設計するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-federation-overview
Service Bus のメッセージレプリケーションパターンを実装するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-federation-patterns
Azure Service Bus 名前空間の地理的レプリケーションを設計するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-geo-replication
回復性を考慮した複数名前空間の Service Bus を設計するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-outages-disasters
パーティション分割された Service Bus キューとトピックを設計および作成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-partitioning
制限とクォータ
トピックURL
制限と動作に関する Azure Service Bus FAQhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-faq
Azure Service Bus のクォータとスロットリング制限を確認するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quotas
Azure Service Bus のスロットリング制限と動作を理解するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-throttling
セキュリティ
トピックURL
Service Bus の Microsoft Entra 認証を構成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/authenticate-application
Service Bus Premium の機密コンピューティングを有効にするhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/confidential-computing
Service Bus の暗号化にカスタマー マネージド キーを構成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/configure-customer-managed-key
Azure Service Bus の SAS ローカル認証を無効にするhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/disable-local-authentication
Azure Service Bus 名前空間のネットワーク セキュリティを構成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/network-security
Azure Service Bus のネットワーク セキュリティ境界を構成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/network-security-perimeter
Service Bus の組み込み Azure Policy 定義を使用するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/policy-reference
Private Link Service で Azure Service Bus を保護するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/private-link-service
Azure Service Bus にセキュリティのベスト プラクティスを適用するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/secure-service-bus
Service Bus に規制コンプライアンス ポリシーを適用するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/security-controls-policy
Azure Service Bus の認証と認可を構成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-authentication-and-authorization
Azure Service Bus の IP ファイアウォール規則を構成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-ip-filtering
マネージド ID を使用して Azure Service Bus に安全にアクセスするhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-managed-service-identity
Service Bus アプリをパスワードレスの Entra ID 認証に移行するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-migrate-azure-credentials
ARM テンプレートで Service Bus の認可規則を作成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-resource-manager-namespace-auth-rule
REST 経由で Entra ID トークンを使用して Service Bus メッセージを送信するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-rest-send-entra-token-how-to
Azure Service Bus の Shared Access Signature 認可を実装するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-sas
Service Bus の仮想ネットワーク サービス エンドポイントを構成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-service-endpoints
Azure Policy で Service Bus の TLS 最小バージョンへの準拠を監査するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/transport-layer-security-audit-minimum-version
Service Bus 名前空間の TLS 最小バージョンを構成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/transport-layer-security-configure-minimum-version
Azure Service Bus の TLS 最小バージョンを適用するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/transport-layer-security-enforce-minimum-version
構成
トピックURL
Service Bus メッセージング ユニットの自動スケーリングを構成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/automate-update-messaging-units
従来の Service Bus 管理 API を ARM にマッピングするhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/deprecate-service-bus-management
Service Bus エンティティ間の自動転送を構成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/enable-auto-forward
Service Bus エンティティの配信不能キューを有効にするhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/enable-dead-letter
Service Bus エンティティの重複検出を構成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/enable-duplicate-detection
Service Bus メッセージ セッションを有効にして構成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/enable-message-sessions
Service Bus キューとトピックのパーティション分割を有効にするhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/enable-partitions-basic-standard
Azure Service Bus エンティティを一時停止して再アクティブ化するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/entity-suspend
peek 操作を使用して Service Bus メッセージを参照するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/message-browsing
Azure Service Bus のメッセージ有効期限と TTL を構成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/message-expiration
Azure Monitor を使用して Azure Service Bus の監視を構成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/monitor-service-bus
.NET Service Bus の移行時に AMQP 設定を構成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-amqp-dotnet
Service Bus で AMQP の要求/応答操作を使用するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-amqp-request-response
Azure Functions ベースの Service Bus レプリケーション タスクを構成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-federation-configuration
Service Bus の Azure Monitor Insights を使用するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-insights
Azure PowerShell で Service Bus リソースを管理するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-manage-with-ps
Service Bus 名前空間とエンティティをプログラムで作成および管理するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-management-libraries
Service Bus サブスクリプションの SQL フィルター式を構成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-sql-filter
Service Bus サブスクリプション ルールで SQL アクション構文を使用するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-sql-rule-action
HTTP ヘッダーを Service Bus メッセージ プロパティにマッピングするhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-rest-message-properties
Service Bus の REST 名前空間アドレス指定を構成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-rest-namespace-access
Azure Service Bus ローカル エミュレーターを構成して実行するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/test-locally-with-service-bus-emulator
統合とコーディングパターン
トピックURL
Service Bus のメッセージをバッチでプログラムから削除するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/batch-delete
Azure Service Bus で JMS 2.0 API を使用するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/how-to-use-java-message-service-20
JMS 2.0 を使用して Azure Service Bus クライアントを開発するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/jms-developer-guide
JMS アプリを ActiveMQ から Service Bus に移行するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/migrate-jms-activemq-to-servicebus
RabbitMQ を Azure Service Bus と統合するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-integrate-with-rabbitmq
Service Bus Standard で AMQP 経由の JMS 1.1 を統合するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-java-how-to-use-jms-api-amqp
Azure Service Bus を Event Grid と統合するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-to-event-grid-integration-concept
Service Bus のイベントを Event Grid および Logic Apps と統合するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-to-event-grid-integration-example
Event Grid および Azure Functions を通じて Service Bus のイベントを処理するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-to-event-grid-integration-function
デプロイ
トピックURL
Azure Service Bus 名前空間をリージョン間で移動するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/move-across-regions
ARM テンプレートを使用して Service Bus 名前空間を作成するhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-resource-manager-namespace
ARM テンプレートを使用して Service Bus 名前空間とキューをデプロイするhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-resource-manager-namespace-queue
Bicep を使用して Service Bus 名前空間とキューをデプロイするhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-resource-manager-namespace-queue-bicep
ARM を使用して Service Bus 名前空間、トピック、サブスクリプションをデプロイするhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-resource-manager-namespace-topic
ARM を使用して Service Bus トピック、サブスクリプション、ルールをデプロイするhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-resource-manager-namespace-topic-with-rule
ARM テンプレートを使用して Service Bus リソースをデプロイするhttps://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-resource-manager-overview

コメント