azure-eventhub-rust
Skill by sickn33
Azure Event Hubs SDK for Rust is a skill that shows how to send and receive events with the azure_messaging_eventhubs crate. It is for Rust developers building streaming data ingestion on Azure.
Install azure-eventhub-rust
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-eventhub-rust ~/.claude/skills/azure-eventhub-rustRun 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-eventhub-rust ~/.gemini/antigravity-cli/skills/azure-eventhub-rustAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install azure-eventhub-rust in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a reference for the Azure Event Hubs SDK for Rust, a client library for Azure's big data streaming and event ingestion service. It covers installing the pinned azure_messaging_eventhubs, azure_identity and azure_core crates, and setting the namespace and Event Hub name through environment variables. It explains key concepts such as namespaces, Event Hubs, partitions, producers and consumers.
The skill includes Rust code fragments for creating a ProducerClient and ConsumerClient with a credential, sending single events and batches, and receiving events from a specific partition with a bounded loop and timeout. It also shows how to read Event Hub and partition properties. An optional blob checkpoint store crate is mentioned for distributed consumers. The source is aimed at Rust developers writing async application code who need to publish or consume Event Hubs data.
Written from the project's SKILL.md and checked against it.
What it can do
- Create producer clientOpens a ProducerClient to an Event Hub using an Azure credential.
- Send single eventSends one event to the Event Hub with send_event.
- Send batchCreates a batch, adds events with try_add_event_data and sends it with send_batch.
- Create consumer clientOpens a ConsumerClient to an Event Hub using an Azure credential.
- Receive events from partitionOpens a receiver on a partition and streams events with a bounded loop and timeout.
- Get Event Hub propertiesReads Event Hub properties, including the partition IDs.
- Get partition propertiesReads partition properties, such as the last enqueued sequence number.
What you need
- An Azure Event Hubs namespace and Event Hub
- Azure credentials, shown with azure_identity DeveloperToolsCredential
- Rust with Cargo to add the crates
- Tokio, Serde and Futures dependencies
Try asking
- Write Rust code to send a batch of events to my Event Hub
- Show me how to receive events from partition 0 with a timeout
- Create a Rust ProducerClient for my Event Hubs namespace
Good to know
- Examples are code fragments that were reviewed, not compiled or run against a cloud account.
- Requires pinned crate versions, such as azure_messaging_eventhubs 0.16.0, and matching Azure core and identity beta crates.
- Use an authorized identity with least privilege and do not use production data for demo writes.
- The source is marked with a critical risk level.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/azure-eventhub-rust/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to azure-eventhub-rust
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-eventhub-rust: common questions
Is this Azure Event Hubs code tested?
The source says the examples were reviewed against official source and reference material. It states they were not compiled or run against a live cloud account.
How does checkpointing work with this SDK?
The source lists an optional checkpoint store crate, azure_messaging_eventhubs_checkpointstore_blob, for distributed consumers. It is described as optional.
Which credential does the example use?
The examples create a DeveloperToolsCredential from the azure_identity crate and pass it to the producer and consumer builders.
How do I install azure-eventhub-rust?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is azure-eventhub-rust free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is azure-eventhub-rust safe to use?
It scores 91 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-eventhub-rust?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
