azure-eventgrid-java
Skill by sickn33
Guides Java developers through publishing, receiving and handling Azure Event Grid events with the azure-messaging-eventgrid SDK. Covers EventGridEvent and CloudEvents formats, webhook parsing and namespace pull receiving.
Install azure-eventgrid-java
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/azure-eventgrid-java ~/.claude/skills/azure-eventgrid-javaRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/azure-eventgrid-java ~/.gemini/antigravity-cli/skills/azure-eventgrid-javaAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install azure-eventgrid-java in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through building event-driven applications with the Azure Event Grid SDK for Java. It covers creating publisher clients with an access key or DefaultAzureCredential, and publishing single or batch events in the native EventGridEvent format or as CloudEvents 1.0. It also shows how to parse incoming webhook payloads, handle system events such as blob creation, and work with Event Grid namespace topics using receive, acknowledge, reject and release calls.
The source pins the azure-messaging-eventgrid Maven package at version 4.27.0 and states integration rules. Webhook sources should be authenticated or validated, payloads bounded, and event IDs deduplicated. Events should be acknowledged only after durable successful processing, with failures released for retry or dead-lettered. It is aimed at Java developers building pub/sub or Azure service integrations through events.
Written from the project's SKILL.md and checked against it.
What it can do
- Publish EventGridEventSends single or multiple events in the Azure Event Grid native schema to a topic.
- Publish CloudEventSends single or batched events that follow the CNCF CloudEvents 1.0 specification.
- Async publishingPublishes events with the async client using reactive subscribe, doOnSuccess and block calls.
- Custom event dataWraps custom Java classes as event payloads using BinaryData.fromObject.
- Parse webhook eventsConverts JSON webhook payloads into EventGridEvent or CloudEvent objects.
- Handle system eventsReads system event data, such as Microsoft.Storage.BlobCreated, into typed classes.
- Receive from namespace topicsPulls events from an Event Grid namespace topic subscription with receive and acknowledge.
- Reject or release eventsRejects events or releases them for retry, optionally with a delay of 60 seconds.
What you need
- Java project with Maven dependency azure-messaging-eventgrid version 4.27.0
- Azure Event Grid topic endpoint and access key, or Azure credentials for DefaultAzureCredential
- Separate namespace client dependency for Event Grid namespace pull examples
Try asking
- Publish an OrderCreated event to my Event Grid topic using the Java SDK
- Show me how to send a batch of CloudEvents with azure-messaging-eventgrid
- Write Java code to parse an Event Grid webhook and handle BlobCreated events
Good to know
- Namespace pull examples require a separate namespace client dependency.
- Service size limits vary by feature and tier; the source says to consult current quotas.
- Keep events under 1MB, or 64KB on the basic tier.
- Publishing can trigger downstream actions and costs, so the source recommends an authorized topic and synthetic data.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/azure-eventgrid-java/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB
Alternatives to azure-eventgrid-java
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
azure-eventgrid-java: common questions
Which event formats does the Java SDK support?
The source lists EventGridEvent for the Azure Event Grid native schema, CloudEvent for CNCF CloudEvents 1.0, and BinaryData for custom schema events.
How should received events be acknowledged?
The source says to acknowledge events only after durable successful processing. Failures should be released for retry or dead-lettered under policy.
What is the maximum event size?
The source recommends keeping events under 1MB, or 64KB for the basic tier. It also says service limits vary by feature and tier, so current quotas should be checked.
How do I install azure-eventgrid-java?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is azure-eventgrid-java free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is azure-eventgrid-java safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to azure-eventgrid-java?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
