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.
Baixar o ZIP da skill
Upload no Claude
Vá em Configurações → Capacidades → Skills → Upload skill
Ative e comece a usar
Testar
A utilizar "Azure Event Hubs SDK for Python". Send 100 events to Event Hub
Resultado esperado:
Code that creates an EventHubProducerClient, uses create_batch() to batch events, handles batch size limits with try/except, and sends in batches
A utilizar "Azure Event Hubs SDK for Python". Receive events with checkpoint store
Resultado esperado:
Setup with EventHubConsumerClient, BlobCheckpointStore, on_event callback that updates checkpoint after processing each event
A utilizar "Azure Event Hubs SDK for Python". Get partition information
Resultado esperado:
Call get_eventhub_properties() to retrieve partition IDs, then get_partition_properties() for each partition's details
Auditoria de Segurança
SeguroDocumentation-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.
Pontuação de qualidade
O Que Você Pode Construir
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
Tente Estes Prompts
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?
Melhores Práticas
- 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
Evitar
- Sending events one at a time without batching
- Not updating checkpoints causing duplicate processing on restart
- Not using context managers for client connections
Perguntas Frequentes
What is Azure Event Hubs?
What is the difference between EventHubProducerClient and EventHubConsumerClient?
What is checkpointing?
What is a partition key?
Do I need Azure Blob Storage for Event Hubs?
What authentication does Azure Event Hubs support?
Detalhes do Desenvolvedor
Autor
sickn33Licença
MIT
Repositório
https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/azure-eventhub-pyReferência
main
Estrutura de arquivos
📄 SKILL.md