Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```