event-driven-architecture
이벤트 기반 마이크로서비스 구축
이벤트 기반 패턴으로 분산 시스템을 구축하려면 메시징 패턴, 사가 조정, 브로커 통합에 대한 이해가 필요합니다. 이 기술은 Kafka, Dapr, Redis 및 pub/sub 아키텍처에 즉시 사용 가능한 패턴을 제공합니다.
Baixar o ZIP da skill
Upload no Claude
Vá em Configurações → Capacidades → Skills → Upload skill
Ative e comece a usar
Testar
A utilizar "event-driven-architecture". Create an event schema for order placed with order_id, customer_id, and items
Resultado esperado:
- DomainEvent: order.placed with aggregate_id=order_id
- Event data includes: order_id, customer_id, items list, total_amount
- Correlation tracking via correlation_id for distributed tracing
- Priority level: normal (can be set to high for time-sensitive orders)
A utilizar "event-driven-architecture". Set up a saga for order processing with inventory reservation and payment
Resultado esperado:
- Saga: order-processing with compensation rollback on failure
- Step 1: Reserve inventory (compensate: release inventory)
- Step 2: Process payment (compensate: refund payment)
- Step 3: Ship order (compensate: cancel shipment)
- Retry policy: 3 attempts with exponential backoff
A utilizar "event-driven-architecture". Configure Dapr pub/sub for publishing events to multiple subscribers
Resultado esperado:
- DaprClient connected to localhost:3500 sidecar
- Publish event to pubsub component with topic name
- Supports metadata for custom routing and filtering
- Works with Kafka, Redis, RabbitMQ backends
Auditoria de Segurança
SeguroDocumentation-only skill containing Python code patterns for event-driven architecture. No executable code, no network calls to external endpoints, no file system access beyond configuration, no credential handling. Purely instructional content aligned with stated purpose. All 109 static findings are false positives - the scanner misinterpreted code examples, documentation placeholders, and metadata as security issues.
Fatores de risco
🌐 Acesso à rede (4)
📁 Acesso ao sistema de arquivos (1)
⚙️ Comandos externos (17)
🔑 Variáveis de ambiente (6)
Pontuação de qualidade
O Que Você Pode Construir
이벤트 소싱 구현
불변 이벤트 스트림에서 감사 추적 및 시스템 상태 복구 구축
분산 트랜잭션 설계
사가 패턴 및 보상을 통해 다중 서비스 작업 조정
Dapr로 배포
상태, pub/sub 및 서비스 호출을 위한 Dapr 구성요소 구성
Tente Estes Prompts
Create a custom DomainEvent for user registration with event_type, aggregate_id, and event_data fields
Set up a KafkaBroker connecting to bootstrap-servers:9092 and create a topic for order events
Create a Saga with three steps: reserve inventory, process payment, and ship order, with compensation actions
Implement a CommandBus with CreateTaskCommand and a QueryBus with GetTaskQuery for task management
Melhores Práticas
- 스키마 진화를 지원하려면 명시적 이벤트 버저닝 사용
- 중복 처리를 처리하기 위해 멱등 이벤트 핸들러 설계
- Kafka 컨슈머 그룹과 같은 브로커 수준 기능 활용하여 확장성 향상
Evitar
- 이벤트 핸들러에서 동기식 요청-응답 패턴 피하기
- 이벤트 생산자를 특정 소비자에게 직접 결합하지 않기
- 암호화 없이 이벤트 페이로드에 민감한 데이터 저장하지 않기
Perguntas Frequentes
이 기술을 지원하는 AI 도구는 무엇입니까?
어떤 메시지 브로커가 지원됩니까?
이 기술이 인프라를 프로비저닝합니까?
이 기술로 내 데이터가 안전합니까?
REST API 대신 이벤트 기반을 사용하는 이유는 무엇입니까?
RPC 프레임워크와 비교하면 어떻게 됩니까?
Detalhes do Desenvolvedor
Autor
Azeem-2Licença
MIT
Repositório
https://github.com/Azeem-2/HackthonII/tree/master/.claude/skills/event-driven-architectureReferência
master
Estrutura de arquivos
📄 SKILL.md