ข้ามไปยังเนื้อหา

Event Sourcing

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Cephalon.EventSourcing adds an event-sourced storage capability — appending to per-aggregate streams, replaying for projections, snapshot support. Adapter packages back the streams with a specific store.

Maturity: the whole family is currently M2. Surface is settling; expect minor breaking schema changes within preview minors. Maturity audit.

Click any package name to jump to its source-doc.

PackageNuGet IDMaturityCapability
EventSourcing (base)Cephalon.EventSourcingM2Capability.EventSourcing
PackageNuGet IDEngine:EventSourcing:ProviderRead model fit
EF CoreCephalon.EventSourcing.EntityFramework"EntityFramework"Relational projections
CassandraCephalon.EventSourcing.Cassandra"Cassandra"Wide-column projections, very high write rate
ClickHouseCephalon.EventSourcing.ClickHouse"ClickHouse"OLAP projections, analytics
ElasticsearchCephalon.EventSourcing.Elasticsearch"Elasticsearch"Full-text projections
MongoDBCephalon.EventSourcing.MongoDB"MongoDB"Document projections
NATS JetStreamCephalon.EventSourcing.Nats"Nats"Stream-native — JetStream backs every aggregate stream
Neo4jCephalon.EventSourcing.Neo4j"Neo4j"Graph projections
OpenSearchCephalon.EventSourcing.OpenSearch"OpenSearch"Apache-licensed search projections
QdrantCephalon.EventSourcing.Qdrant"Qdrant"Vector / similarity projections
Redis StreamsCephalon.EventSourcing.Redis"Redis"Low-latency, in-memory streams
ScenarioPackages
Event-sourced aggregate in EF CoreCephalon.EventSourcing + Cephalon.EventSourcing.EntityFramework
Event-sourced + ClickHouse projection+ Cephalon.EventSourcing.ClickHouse
Multiple read-model targetsinstall one adapter per read-model target
appsettings.json
{
"Engine": {
"EventSourcing": {
"Enabled": true,
"Provider": "EntityFramework",
"Snapshots": { "Every": 100 },
"Projections": {
"RebuildOnSchemaChange": true
}
}
}
}