百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

Sekiban

> DevOps
开源

Sekiban - 一个使用 C# 的具有主观观点的事件源和 CQRS 框架。它可以将数据存储到 Azure Cosmos DB、AWS Dynamo DB 或 Postgres。

378 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

Sekiban - 一个使用 C# 的具有主观观点的事件源和 CQRS 框架。它可以将数据存储到 Azure Cosmos DB、AWS Dynamo DB 或 Postgres。

Sekiban - Event Sourcing and CQRS Framework

Sekiban.Pure support policy / サポート方針

Sekiban.Pure is in maintenance mode (no new features; .NET 9). We plan to complete its lifecycle with .NET 9 (EOL Nov 10, 2026) — but if you run it in production, we will bring it to .NET 10/11 as a pure compatibility migration, no features (we shipped exactly this for Sekiban(Core) 0.25.0: unchanged public API, bidirectional data compatibility). Tell us in #1169. For new projects we recommend Sekiban DCB.

Sekiban.Pure は現在メンテナンスモードです(機能追加なし・.NET 9 対応)。.NET 9 の EOL(2026-11-10)でライフサイクルを完了する予定ですが、本番利用中の方がいれば .NET 10/11 への対応を機能追加なしの互換移行として行います(Sekiban(Core) 0.25.0 で同方式を実施済み: 公開 API 無変更・保存データ双方向互換)。必要な方は #1169 でお知らせください。新規プロジェクトには Sekiban DCB を推奨します。

Sekiban is an event sourcing and CQRS framework for .NET. It supports Azure Cosmos DB, PostgreSQL, and DynamoDB as event stores, with Microsoft Orleans for actor-based scalability.

Documentation: sekiban.dev

Implementations

Note: Sekiban has two implementations. DCB (Dynamic Consistency Boundary) is the recommended approach for new projects. Sekiban.Pure and Sekiban.Core are in maintenance mode.

Implementation Description Status
Sekiban DCB Dynamic Consistency Boundary - tag-based event sourcing ✅ Recommended
Sekiban.Pure Traditional aggregate-based event sourcing ️ Maintenance
Sekiban.Core Single-server version without actor model ️ Maintenance
Sekiban.ts TypeScript event sourcing Alpha

Quick Start

Sekiban DCB (Recommended)

bash
dotnet new install Sekiban.Dcb.Templates
dotnet new sekiban-dcb-orleans -n YourProjectName

Cloud Deployment

DCB supports both Azure and AWS:

Component Azure AWS
Event Store Cosmos DB / PostgreSQL DynamoDB
Snapshots Azure Blob Storage Amazon S3
Orleans Clustering Azure Table / Cosmos DB RDS PostgreSQL
Orleans Streams Azure Queue Amazon SQS

What is DCB?

Dynamic Consistency Boundary (DCB) replaces rigid per-aggregate transactional boundaries with a context-sensitive consistency boundary based on event tags. Instead of maintaining multiple streams and coordinating cross-aggregate invariants via sagas, DCB uses a single event stream per bounded context where each event carries tags representing affected entities.

Key benefits:

  • Flexible boundaries: Define consistency scope per command, not per aggregate
  • No saga complexity: Cross-entity invariants without compensating events
  • Optimistic concurrency: Tag-based conflict detection
  • Scalable: Actor model integration with Microsoft Orleans

Learn more at dcb.events

Documentation

  • Website: sekiban.dev
  • DCB Documentation: docs/dcb_llm (English) | docs/dcb_llm_ja (日本語)
  • Pure Documentation: docs/llm (English) | docs/llm_ja (日本語)
  • Storage consistency contract (DCB) — what each event store guarantees, and what it does not: English | 日本語. Read this before choosing Cosmos DB for a workload that needs atomic event/tag visibility.

MCP (Model Context Protocol)

Sekiban provides MCP support for AI coding assistants:

bash
claude mcp add sekibanDocument --transport sse https://sekiban-doc-mcp.azurewebsites.net/sse

NuGet Packages

DCB Packages (Recommended)

Package Description
Sekiban.Dcb.Core Core DCB framework
Sekiban.Dcb.Orleans.WithResult Orleans integration
Sekiban.Dcb.Postgres PostgreSQL event store
Sekiban.Dcb.CosmosDb Cosmos DB event store
Sekiban.Dcb.DynamoDB DynamoDB event store
Sekiban.Dcb.BlobStorage.AzureStorage Azure Blob snapshots
Sekiban.Dcb.BlobStorage.S3 S3 snapshots

Legacy Packages

Legacy Sekiban.Core and Sekiban.Pure packages are available on NuGet but are no longer recommended for new projects. See core_main branch for legacy documentation.

Sponsors

Sekiban is Apache 2.0 open source. Support us via GitHub Sponsors.

Special Sponsor

About

J-Tech Japan (株式会社ジェイテックジャパン) has been developing Sekiban since 2022.

Community

Join the J-Tech JAPAN OSS Discord to ask questions, share ideas, and connect with other Sekiban users. There is a dedicated channel for the Sekiban community.

Join our Discord

Support

For training or support, contact [email protected].

  • Contribution Guidelines
  • Code of Conduct

Contributors

License

Apache 2.0 - See License

Copyright (c) 2022- J-Tech Japan

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#c-sharpcosmos-dbcosmosdbcqrs

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类DevOps
定价开源

> 相关工具

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理