feat: add durable business inbox example and consumer crash recovery

This commit is contained in:
2026-09-17 20:49:51 +08:00
parent b17d9b1977
commit a8a8dcfe1e
27 changed files with 1601 additions and 17 deletions

View File

@@ -4,19 +4,23 @@ GO ?= go
fmt:
$(GO) fmt ./...
cd sdk/go && $(GO) fmt ./...
cd examples/result-inbox && GOWORK=off $(GO) fmt ./...
test:
$(GO) test -race ./...
cd sdk/go && $(GO) test -race ./...
cd examples/result-inbox && GOWORK=off $(GO) test -race ./...
vet:
$(GO) vet ./...
cd sdk/go && $(GO) vet ./...
cd examples/result-inbox && GOWORK=off $(GO) vet ./...
build:
$(GO) build -o bin/orbit ./cmd/orbit
$(GO) build -o bin/orbit-migrate ./cmd/orbit-migrate
$(GO) build -o bin/orbit-admin ./cmd/orbit-admin
cd examples/result-inbox && GOWORK=off $(GO) build -o ../../bin/orbit-inbox-example ./cmd/receiver
integration:
./scripts/test-mysql.sh