EventStoreDB is an industrial-strength database technology used as the central data store for event-sourced systems. It is available open-source to run locally on most platforms or as SaaS through Event Store Cloud.
This repository provides samples demonstrating the functionalities of EventStoreDB and the client SDKs of EventStore and practical usage.
Common operations & usage samples can be found in the client repositories
Feel free to create a GitHub issue if you have any questions or request for more explanation or samples.
We're open for any contribution! If you noticed some inconsistency, missing piece, or you'd like to extend existing samples - we'll be happy to get your Pull Request.
Read more in the Contribution Guidelines
Samples are organised by the specific topic. By going to the folder, you can find dedicated folders for different programming languages/environments.
-
Description:
- typical Event Sourcing with CQRS flow.
- stores events to EventStoreDB.
- shows how to organise the write model and read model handling.
- Builds read models using Subscription to
$all
. - Read models are stored as ElasticSearch documents.
- Shows how to unit and integration test solution.
-
Description:
- typical Event Sourcing with CQRS flow.
- stores events to EventStoreDB.
- shows how to organise the write model and read model handling.
- Builds read models using Subscription to
$all
. - Read models are stored as Postgres documents.
- Shows how to unit and integration test solution.
There are two variations of handling the business logic:
-
Description:
- shows how to Protecting Sensitive Data (e.g. for European General Data Protection Regulation) in Event-Sourced Systems.
- shows how to use the .NET
System.Security.Cryptography
library with AES algorithm to encrypt and decrypt events' data. - uses EventStoreDB.
Description:
This samples show how to configure various ways of sending logs from EventStoreDB to Elasticsearch:
Check the README.md
file in the specific sample folder for the detailed run instructions.
Information on commercial support can be found here: https://eventstore.com/support/.
Documentation can be found here: https://developers.eventstore.com/
We invite you to join our community discussion space at Discuss.