Agent skill · software engineering · sickn33

azure-eventhub-rust

Azure Event Hubs SDK for Rust. Use for sending and receiving events, streaming data ingestion.

Why this skill is useful

Provides specific Rust SDK commands and patterns for interacting with Azure Event Hubs that the AI wouldn't reliably generate on its own.

What it needs

Requires cargo installed locally. Requires azure account access. About 3k tokens when loaded. Last updated 2026-08-07. 44,571 stars on the source repository.

What this skill does

Azure Event Hubs SDK for Rust Client library for Azure Event Hubs — big data streaming platform and event ingestion service. The examples below require a reviewed compatible crate set and replacement of every resource placeholder. Do not use production data for demonstration writes. Installation Environment Variables Key Concepts Namespace — container for Event Hubs Event Hub — stream of events partitioned for parallel processing Partition — ordered sequence of events Producer — sends events to Event Hub Consumer — receives events from partitions Producer Client Create Producer Send Single Event Send Batch Consumer Client Create Consumer Receive Events Get Event Hub Properties Get Partition Properties Best Practices 1. Reuse clients — create once, send many events 2. Use batches — more efficient than individual sends 3. Check batch capacity — tryaddeventdata returns false when full 4. Process partitions in parallel — each partition can be consumed independently 5. Use consumer groups — isolate different consuming applications 6. Handle checkpointing — use azuremessagingeventhubscheckpointstoreblob for distributed consumers Checkpoint Store (Optional) For distributed consumers with checkpointing: Event Hubs 0.16 uses the Azure core beta line, so pair it with the published matching identity beta; do not mix credential traits from the stable core line. The reviewed example set uses azuremessagingeventhubs 0.16.0 and compatible Azure core/credential crates. Record and commit Cargo.lock; source/API review is not a compiler or live-service test. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sickn33/azure-eventhub-rust

View the source on GitHub

Browse the @skills marketplace