Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nlm/protoc-gen-temporal
Protobuf generator for Temporal workflows
https://github.com/nlm/protoc-gen-temporal
temporal temporalio workflow-engine workflows
Last synced: about 1 month ago
JSON representation
Protobuf generator for Temporal workflows
- Host: GitHub
- URL: https://github.com/nlm/protoc-gen-temporal
- Owner: nlm
- License: mit
- Created: 2023-12-27T00:28:29.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-28T23:12:39.000Z (12 months ago)
- Last Synced: 2024-06-21T18:55:24.343Z (6 months ago)
- Topics: temporal, temporalio, workflow-engine, workflows
- Language: Go
- Homepage:
- Size: 76.2 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# protoc-gen-temporal
Using protobuf and gRPC services to generate Temporal workflows
## how to use
Build the generator
```bash
$ make build
go build ./cmd/protoc-gen-temporal/
```## demo
Build proto
```bash
$ make proto
protoc -I demopb --temporal_out=demopb --temporal_opt=paths=source_relative --plugin protoc-gen-temporal=protoc-gen-temporal demo.proto
```Build the demo app
```bash
$ make demo
go build -o demo ./cmd/demo
```Start a temporal dev server
```bash
$ temporal server start-dev
```Run the worker
```bash
$ ./demo -mode worker
```Run the client
```bash
$ ./demo -mode client
result: Hello, Alice!
```