搜索

PythonReactSEOPDF
GitHub Skill

event-sourcing-migrator

Migrate to event-sourcing architecture with event extraction, store setup, and CQRS implementation

a5c-ai☆ 417 仓库 Stars21 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Event Sourcing Migrator Skill

Migrates applications to event-sourcing architecture, handling event extraction from existing data, event store setup, and CQRS implementation.

Purpose

Enable event sourcing migration for:

  • Event extraction from existing data
  • Event store setup
  • Projection generation
  • CQRS implementation
  • Snapshot management

Capabilities

1. Event Extraction from Existing Data
  • Analyze current state
  • Derive historical events
  • Generate event streams
  • Handle data gaps
2. Event Store Setup
  • Configure event store
  • Set up partitioning
  • Define retention
  • Implement subscriptions
3. Projection Generation
  • Create read models
  • Build projections
  • Handle updates
  • Manage consistency
4. CQRS Implementation
  • Separate read/write
  • Implement commands
  • Handle queries
  • Manage eventual consistency
5. Snapshot Management
  • Define snapshot strategy
  • Generate snapshots
  • Handle restoration
  • Optimize performance
6. Event Replay
  • Replay events
  • Rebuild projections
  • Handle migrations
  • Test consistency

Tool Integrations

Tool Purpose Integration Method
EventStore Event database CLI/API
Axon Framework Java event sourcing Library
Marten .NET event store Library
EventStoreDB Event store CLI
Custom stores PostgreSQL/Kafka Library

Output Schema

{
  "migrationId": "string",
  "timestamp": "ISO8601",
  "eventStore": {
    "type": "string",
    "streams": "number",
    "events": "number"
  },
  "projections": [
    {
      "name": "string",
      "status": "string",
      "lastPosition": "number"
    }
  ],
  "snapshots": {
    "enabled": "boolean",
    "count": "number"
  }
}

Integration with Migration Processes

  • monolith-to-microservices: Event-driven architecture
  • database-schema-migration: Data transformation

Related Skills

  • domain-model-extractor: Event discovery

Related Agents

  • data-architect-agent: Event architecture

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-03-11
索引更新时间
2026-03-11
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!