Azure Event Hubs SDK for Python
Integrate Azure Event Hubs with Python
Build high-throughput event streaming pipelines with Azure Event Hubs Python SDK. This skill provides code patterns for producers, consumers, and checkpoint stores.
تنزيل ZIP المهارة
رفع في Claude
اذهب إلى Settings → Capabilities → Skills → Upload skill
فعّل وابدأ الاستخدام
اختبرها
استخدام "Azure Event Hubs SDK for Python". Send 100 events to Event Hub
النتيجة المتوقعة:
Code that creates an EventHubProducerClient, uses create_batch() to batch events, handles batch size limits with try/except, and sends in batches
استخدام "Azure Event Hubs SDK for Python". Receive events with checkpoint store
النتيجة المتوقعة:
Setup with EventHubConsumerClient, BlobCheckpointStore, on_event callback that updates checkpoint after processing each event
استخدام "Azure Event Hubs SDK for Python". Get partition information
النتيجة المتوقعة:
Call get_eventhub_properties() to retrieve partition IDs, then get_partition_properties() for each partition's details
التدقيق الأمني
آمنDocumentation-only skill containing reference material for Azure Event Hubs Python SDK. Static analysis scanned 0 files (0 lines) as this is a prompt-only skill with no executable code. No security issues detected. The skill provides legitimate technical documentation for Azure Event Hubs, a standard cloud messaging service.
درجة الجودة
ماذا يمكنك بناءه
Build event ingestion pipeline
Create a producer that sends high-volume events from IoT devices or applications to Azure Event Hubs
Process streaming events
Build a consumer application that receives and processes events with checkpointing for reliable delivery
Implement async event processing
Use async clients to handle high-throughput event streaming with better resource utilization
جرّب هذه الموجهات
Show me how to create an EventHubProducerClient and send a batch of events using azure-eventhub Python SDK
How do I set up an EventHubConsumerClient with BlobCheckpointStore to receive events and track progress?
Show me the async version of EventHubProducerClient and EventHubConsumerClient for high-throughput scenarios
How do I send events to specific partitions using partition_id or partition_key with azure-eventhub?
أفضل الممارسات
- Use batches when sending multiple events to reduce network calls
- Use checkpoint stores in production for reliable event processing
- Use async clients for high-throughput scenarios
تجنب
- Sending events one at a time without batching
- Not updating checkpoints causing duplicate processing on restart
- Not using context managers for client connections