Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/piotrpersona/sago
SAGA and Event Sourcing implementation in Go
https://github.com/piotrpersona/sago
event-sourcing event-store go golang microservices pub redis saga saga-pattern sagas
Last synced: 2 months ago
JSON representation
SAGA and Event Sourcing implementation in Go
- Host: GitHub
- URL: https://github.com/piotrpersona/sago
- Owner: piotrpersona
- License: apache-2.0
- Created: 2019-12-31T17:41:07.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-31T17:42:42.000Z (about 5 years ago)
- Last Synced: 2023-03-23T17:51:10.855Z (almost 2 years ago)
- Topics: event-sourcing, event-store, go, golang, microservices, pub, redis, saga, saga-pattern, sagas
- Language: Go
- Size: 19.5 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sago
Implementation of SAGA and Event Sourcing pattern in Go.
![sago design](svg/sago.svg?sanitize=true)
## Run
Run broker - redis
```
docker run \
--name redis \
-p 6379:6379 \
redis --requirepass topsecret
```Run order service
```
go run main.go
```Run clients against service
```
go run client/order/client.go
```Simulate customer SAGA
```
go run client/customer/client.go
```