GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - kevinmichaelchen/temporal-saga-grpc: 🌊 Using Temporal to orchestrate distributed transactions (sagas) across Golang microservices

This repository was archived by the owner on Jan 15, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

139 Commits
139 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
cmd
cmd
 
 
db/schema
db/schema
 
 
docs
docs
 
 
idl
idl
 
 
pkg
pkg
 
 
tailcall
tailcall
 
 
taskfiles
taskfiles
 
 
ui
ui
 
 
.env
.env
 
 
.gitignore
.gitignore
 
 
.golangci.yml
.golangci.yml
 
 
.tokeignore
.tokeignore
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
Taskfile.yml
Taskfile.yml
 
 
buf.gen.yaml
buf.gen.yaml
 
 
buf.work.yaml
buf.work.yaml
 
 
docker-compose.yml
docker-compose.yml
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
otel-config.yml
otel-config.yml
 
 

Repository files navigation

temporal-saga-grpc

Lines Of Code

./docs/public/diagrams/architecture.svg

This project demonstrates using Temporal to orchestrate a saga (effectively a distributed transaction) that interacts with multiple services and has a robust, edge-case-proof rollback strategy, as well as durable function execution. Temporal abstracts away failures.

Getting started

Step 1: Spin everything up

You can spin everything up with:

make

Note

Under the hood, we use a bunch of tools (which you can read about here), but to run things seamlessly locally, the one tool you will need is pkgx.

Step 2: Observe the workflow

Let's get ready to observe this thing in action!

  • View traces in Jaeger — localhost:16686.
  • View the workflow in Temporal's UI — localhost:8233.

Step 3: Start a Temporal Workflow

curl -v http://localhost:8081/temporal.v1beta1.TemporalService/CreateOnboardingWorkflow \
  -H "Content-Type: application/json" \
  --data-binary @- <<EOF
  {
    "license": {
      "start": "2023-11-16T12:00:00Z",
      "end": "2024-01-16T12:00:00Z"
    },
    "org": {
      "name": "Org 1"
    },
    "profile": {
      "full_name": "Kevin Chen"
    }
  }
EOF

About

🌊 Using Temporal to orchestrate distributed transactions (sagas) across Golang microservices

kevinmichaelchen.github.io/temporal-saga-grpc/

Topics

bufconnect-godistributed-transactiongolanggrpcmicroservicemicroservicesopentelemetryotelremote-generationsagatemporal

Resources

Readme
Activity

Stars

11 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.