Other

项目介绍

J-Tech-Japan/Sekiban 是一个托管在 GitHub 上的开源项目,主要使用 C# 编写,采用 Other 许可证,目前获得 380 个 Star、10 次 Fork。

仓库全名
J-Tech-Japan/Sekiban
开源许可证
Other
Star 数
380
Fork 数
10
未关闭 Issue
4

README 摘要

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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

Sekiban 用什么语言开发?

主要使用 C# 编写,采用 Other 许可证,目前有 380 个 Star。

Sekiban 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 Sekiban 的源码?

可以直接克隆仓库:git clone https://github.com/J-Tech-Japan/Sekiban.git,默认分支为 main;安装与运行步骤见仓库 README。

Sekiban 最近还在维护吗?

仓库最近一次更新为 20 小时前,当前有 4 个未关闭 Issue;Star 数为 380,可作为社区活跃度的参考。

关于

Sekiban - an Opinionated Event Sourcing and CQRS Framework using C#. It can store data into Azure Cosmos DB, AWS Dynamo DB or Postgres

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
406
价值分
231
活跃状态
活跃

语言占比

Bicep
C#
CSS
Dockerfile
HTML
JavaScript
PLpgSQL
PowerShell
Python
Shell
TypeScript

README

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 Logo

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

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:

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

NuGet Packages

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

special sponsor jts

About

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

developer J-Tech Japan.

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].

Contributors

contributors

License

Apache 2.0 - See License

Copyright © 2022- J-Tech Japan

评论

暂无评论