[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6G98C8TX95BX1B5ZAMTKZSK":3,"skill-same:01M6G98C8TX95BX1B5ZAMTKZSK":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":13,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":44,"install":45,"resources":58},"01M6G98C8TX95BX1B5ZAMTKZSK","azure-eventhub-rust",null,"Azure Event Hubs SDK for Rust. Use for sending and receiving events, streaming data ingestion.\nTriggers: \"event hubs rust\", \"ProducerClient rust\", \"ConsumerClient rust\", \"send event rust\", \"streaming rust\".","ricardoaevt\u002Fnexus-roms","ricardoaevt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F164531880?v=4","01M6DGFGSV6CF9AKPHABBREC79","01M6DGFGYNNPJVDFQA05TDPSBN",0,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fricardoaevt\u002Fnexus-roms\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fmicrosoft_skills\u002F.github\u002Fplugins\u002Fazure-sdk-rust\u002Fskills\u002Fazure-eventhub-rust\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31],"rust","azure","azure eventhub rust","sdk","streaming","data ingestion","messaging","data","use","ingestion","triggers","events","azure event hubs","event","2026-11-10 10:12:30",false,"---\nname: azure-eventhub-rust\ndescription: |\n  Azure Event Hubs SDK for Rust. Use for sending and receiving events, streaming data ingestion.\n  Triggers: \"event hubs rust\", \"ProducerClient rust\", \"ConsumerClient rust\", \"send event rust\", \"streaming rust\".\npackage: azure_messaging_eventhubs\n---\n\n# Azure Event Hubs SDK for Rust\n\nClient library for Azure Event Hubs — big data streaming platform and event ingestion service.\n\n## Installation\n\n```sh\ncargo add azure_messaging_eventhubs azure_identity\n```\n\n## Environment Variables\n\n```bash\nEVENTHUBS_HOST=\u003Cnamespace>.servicebus.windows.net\nEVENTHUB_NAME=\u003Ceventhub-name>\n```\n\n## Key Concepts\n\n- **Namespace** — container for Event Hubs\n- **Event Hub** — stream of events partitioned for parallel processing\n- **Partition** — ordered sequence of events\n- **Producer** — sends events to Event Hub\n- **Consumer** — receives events from partitions\n\n## Producer Client\n\n### Create Producer\n\n```rust\nuse azure_identity::DeveloperToolsCredential;\nuse azure_messaging_eventhubs::ProducerClient;\n\nlet credential = DeveloperToolsCredential::new(None)?;\nlet producer = ProducerClient::builder()\n    .open(\"\u003Cnamespace>.servicebus.windows.net\", \"eventhub-name\", credential.clone())\n    .await?;\n```\n\n### Send Single Event\n\n```rust\nproducer.send_event(vec![1, 2, 3, 4], None).await?;\n```\n\n### Send Batch\n\n```rust\nlet batch = producer.create_batch(None).await?;\nbatch.try_add_event_data(b\"event 1\".to_vec(), None)?;\nbatch.try_add_event_data(b\"event 2\".to_vec(), None)?;\n\nproducer.send_batch(batch, None).await?;\n```\n\n## Consumer Client\n\n### Create Consumer\n\n```rust\nuse azure_messaging_eventhubs::ConsumerClient;\n\nlet credential = DeveloperToolsCredential::new(None)?;\nlet consumer = ConsumerClient::builder()\n    .open(\"\u003Cnamespace>.servicebus.windows.net\", \"eventhub-name\", credential.clone())\n    .await?;\n```\n\n### Receive Events\n\n```rust\n\u002F\u002F Open receiver for specific partition\nlet receiver = consumer.open_partition_receiver(\"0\", None).await?;\n\n\u002F\u002F Receive events\nlet events = receiver.receive_events(100, None).await?;\nfor event in events {\n    println!(\"Event data: {:?}\", event.body());\n}\n```\n\n### Get Event Hub Properties\n\n```rust\nlet properties = consumer.get_eventhub_properties(None).await?;\nprintln!(\"Partitions: {:?}\", properties.partition_ids);\n```\n\n### Get Partition Properties\n\n```rust\nlet partition_props = consumer.get_partition_properties(\"0\", None).await?;\nprintln!(\"Last sequence number: {}\", partition_props.last_enqueued_sequence_number);\n```\n\n## Best Practices\n\n1. **Reuse clients** — create once, send many events\n2. **Use batches** — more efficient than individual sends\n3. **Check batch capacity** — `try_add_event_data` returns false when full\n4. **Process partitions in parallel** — each partition can be consumed independently\n5. **Use consumer groups** — isolate different consuming applications\n6. **Handle checkpointing** — use `azure_messaging_eventhubs_checkpointstore_blob` for distributed consumers\n\n## Checkpoint Store (Optional)\n\nFor distributed consumers with checkpointing:\n\n```sh\ncargo add azure_messaging_eventhubs_checkpointstore_blob\n```\n\n## Reference Links\n\n| Resource | Link |\n|----------|------|\n| API Reference | https:\u002F\u002Fdocs.rs\u002Fazure_messaging_eventhubs |\n| Source Code | https:\u002F\u002Fgithub.com\u002FAzure\u002Fazure-sdk-for-rust\u002Ftree\u002Fmain\u002Fsdk\u002Feventhubs\u002Fazure_messaging_eventhubs |\n| crates.io | https:\u002F\u002Fcrates.io\u002Fcrates\u002Fazure_messaging_eventhubs |\n","# Azure Event Hubs SDK for Rust\n\nClient library for Azure Event Hubs — big data streaming platform and event ingestion service.\n\n## Installation\n\n```sh\ncargo add azure_messaging_eventhubs azure_identity\n```\n\n## Environment Variables\n\n```bash\nEVENTHUBS_HOST=\u003Cnamespace>.servicebus.windows.net\nEVENTHUB_NAME=\u003Ceventhub-name>\n```\n\n## Key Concepts\n\n- **Namespace** — container for Event Hubs\n- **Event Hub** — stream of events partitioned for parallel processing\n- **Partition** — ordered sequence of events\n- **Producer** — sends events to Event Hub\n- **Consumer** — receives events from partitions\n\n## Producer Client\n\n### Create Producer\n\n```rust\nuse azure_identity::DeveloperToolsCredential;\nuse azure_messaging_eventhubs::ProducerClient;\n\nlet credential = DeveloperToolsCredential::new(None)?;\nlet producer = ProducerClient::builder()\n    .open(\"\u003Cnamespace>.servicebus.windows.net\", \"eventhub-name\", credential.clone())\n    .await?;\n```\n\n### Send Single Event\n\n```rust\nproducer.send_event(vec![1, 2, 3, 4], None).await?;\n```\n\n### Send Batch\n\n```rust\nlet batch = producer.create_batch(None).await?;\nbatch.try_add_event_data(b\"event 1\".to_vec(), None)?;\nbatch.try_add_event_data(b\"event 2\".to_vec(), None)?;\n\nproducer.send_batch(batch, None).await?;\n```\n\n## Consumer Client\n\n### Create Consumer\n\n```rust\nuse azure_messaging_eventhubs::ConsumerClient;\n\nlet credential = DeveloperToolsCredential::new(None)?;\nlet consumer = ConsumerClient::builder()\n    .open(\"\u003Cnamespace>.servicebus.windows.net\", \"eventhub-name\", credential.clone())\n    .await?;\n```\n\n### Receive Events\n\n```rust\n\u002F\u002F Open receiver for specific partition\nlet receiver = consumer.open_partition_receiver(\"0\", None).await?;\n\n\u002F\u002F Receive events\nlet events = receiver.receive_events(100, None).await?;\nfor event in events {\n    println!(\"Event data: {:?}\", event.body());\n}\n```\n\n### Get Event Hub Properties\n\n```rust\nlet properties = consumer.get_eventhub_properties(None).await?;\nprintln!(\"Partitions: {:?}\", properties.partition_ids);\n```\n\n### Get Partition Properties\n\n```rust\nlet partition_props = consumer.get_partition_properties(\"0\", None).await?;\nprintln!(\"Last sequence number: {}\", partition_props.last_enqueued_sequence_number);\n```\n\n## Best Practices\n\n1. **Reuse clients** — create once, send many events\n2. **Use batches** — more efficient than individual sends\n3. **Check batch capacity** — `try_add_event_data` returns false when full\n4. **Process partitions in parallel** — each partition can be consumed independently\n5. **Use consumer groups** — isolate different consuming applications\n6. **Handle checkpointing** — use `azure_messaging_eventhubs_checkpointstore_blob` for distributed consumers\n\n## Checkpoint Store (Optional)\n\nFor distributed consumers with checkpointing:\n\n```sh\ncargo add azure_messaging_eventhubs_checkpointstore_blob\n```\n\n## Reference Links\n\n| Resource | Link |\n|----------|------|\n| API Reference | https:\u002F\u002Fdocs.rs\u002Fazure_messaging_eventhubs |\n| Source Code | https:\u002F\u002Fgithub.com\u002FAzure\u002Fazure-sdk-for-rust\u002Ftree\u002Fmain\u002Fsdk\u002Feventhubs\u002Fazure_messaging_eventhubs |\n| crates.io | https:\u002F\u002Fcrates.io\u002Fcrates\u002Fazure_messaging_eventhubs |\n",{"name":5,"package":37,"description":38},"azure_messaging_eventhubs","Azure Event Hubs SDK for Rust. Use for sending and receiving events, streaming data ingestion.\nTriggers: \"event hubs rust\", \"ProducerClient rust\", \"ConsumerClient rust\", \"send event rust\", \"streaming rust\".\n","main","d41309588593cee5c2fb44062474efc3a99fbcb6",".agent\u002Fskills\u002Fmicrosoft_skills\u002F.github\u002Fplugins\u002Fazure-sdk-rust\u002Fskills\u002Fazure-eventhub-rust","https:\u002F\u002Fgithub.com\u002Fricardoaevt\u002Fnexus-roms","https:\u002F\u002Fgithub.com\u002Fricardoaevt","2026-03-23 00:05:03",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add ricardoaevt\u002Fnexus-roms --skill azure-eventhub-rust",{"tool":51,"command":52},"bunx","bunx skills add ricardoaevt\u002Fnexus-roms --skill azure-eventhub-rust",{"tool":54,"command":55},"pnpm","pnpm dlx skills add ricardoaevt\u002Fnexus-roms --skill azure-eventhub-rust","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fricardoaevt\u002Fnexus-roms\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fmicrosoft_skills\u002F.github\u002Fplugins\u002Fazure-sdk-rust\u002Fskills\u002Fazure-eventhub-rust\u002FSKILL.md",true,[59],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Facceptance-criteria.md","REFERENCE","参考文档",3030,"https:\u002F\u002Fgithub.com\u002Fricardoaevt\u002Fnexus-roms\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fmicrosoft_skills\u002F.github\u002Fplugins\u002Fazure-sdk-rust\u002Fskills\u002Fazure-eventhub-rust\u002Freferences\u002Facceptance-criteria.md",[66,90,106,121,132,141],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":70,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":32},"01M6G9HYKQRK6HBKVTZM3258M3","openspec-propose","Propose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal with design, specs, and tasks ready for implementation.","MIT","https:\u002F\u002Fgithub.com\u002Fricardoaevt\u002Fnexus-roms\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fopenspec-propose\u002FSKILL.md",[],[74,75,76,77,78,79,80,81,82,83,84,26,85,86,87,88,89],"openspec propose","openspec","cli","generated","with","proposal","complete","get","build","implementation","ready","user","artifacts","tasks","change","design",{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":70,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":32},"01M6G9HV9V20WFCHYVSDNQMJVK","openspec-new-change","Start a new OpenSpec change using the experimental artifact workflow. Use when the user wants to create a new feature, fix, or modification with a structured step-by-step approach.","https:\u002F\u002Fgithub.com\u002Fricardoaevt\u002Fnexus-roms\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fopenspec-new-change\u002FSKILL.md",[],[75,97,88,98,76,99,100,101,26,85,102,103,104,105,78],"openspec new change","new feature","structured","artifact","workflow","create","start","fix","feature",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":70,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":32},"01M6G9HRF6R89QZXGSFC9DRQW3","openspec-explore","Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.","https:\u002F\u002Fgithub.com\u002Fricardoaevt\u002Fnexus-roms\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fopenspec-explore\u002FSKILL.md",[],[113,114,75,26,115,76,88,85,116,117,118,119,120],"openspec explore","explore","partner","think","thinking partner","thinking","ideas","requirements",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":70,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":32},"01M6G9HP3APFCXZG7XRWBMM524","openspec-continue-change","Continue working on an OpenSpec change by creating the next artifact. Use when the user wants to progress their change, create the next artifact, or continue their workflow.","https:\u002F\u002Fgithub.com\u002Fricardoaevt\u002Fnexus-roms\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fopenspec-continue-change\u002FSKILL.md",[],[75,128,129,88,101,76,102,85,26,130,100,131],"continue","openspec continue change","next","progress",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":70,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":32},"01M6G9HKT3WMSDBSKA7YM4MSSQ","openspec-archive-change","Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete.","https:\u002F\u002Fgithub.com\u002Fricardoaevt\u002Fnexus-roms\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fopenspec-archive-change\u002FSKILL.md",[],[139,75,140,88,76,101,85,26,83,80],"openspec archive change","archive",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":70,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":32},"01M6G9HHEG0RJK4E0YTVZZ6A8T","openspec-apply-change","Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.","https:\u002F\u002Fgithub.com\u002Fricardoaevt\u002Fnexus-roms\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fopenspec-apply-change\u002FSKILL.md",[],[75,88,148,149,87,103,128,150,85,26,83,76],"openspec apply change","implement","work"]