Microsoft/azure-messaging-webpubsub-java — Agent Skills | officialskills.sh
Back to skills

azure-messaging-webpubsub-java

Java SDK for Azure Web PubSub, a managed service that handles WebSocket connections at scale.

Setup & Installation

npx skills add https://github.com/microsoft/skills --skill azure-messaging-webpubsub-java
or paste the link and ask your coding assistant to install it
https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-java/skills/azure-messaging-webpubsub-java
View on GitHub

What This Skill Does

Java SDK for Azure Web PubSub, a managed service that handles WebSocket connections at scale. Use it to send messages to individual connections, users, or groups from your server-side Java code.

Managing WebSocket connections yourself requires handling reconnects, scaling across servers, and tracking connection state — Azure Web PubSub offloads all of that so you call one method to reach thousands of clients.

When to use it

  • Broadcasting a live sports score update to all connected clients
  • Sending a private message to a specific user across all their active sessions
  • Adding a new connection to a 'premium' group when a user upgrades their subscription
  • Generating a signed client access token with scoped group permissions on login
  • Closing all connections for a user when their account is suspended