protoc-gen-temporal-go
is a protoc
plugin which generates Go language bindings for Temporal
workers with their workflows and activities, based on service definitions in
protocol-buffer files.
This methodology enables easier and safer usage of Temporal: it enforces correctness and consistency within and across workers, intorduces best practices seamlessly, reduces manually-written boilerplate, and improves documentation and discoverability for developers and users.
Inspiration and background:
- Public talk by Jacob LeGrone from Datadog in Replay 2022
- Another talk by Drew Hoskins from Stripe in Replay 2022
FYI:
- This project is unrelated to https://github.com/temporalio/api-go, despite some keyword similarity in the project descriptions
- There's another open-source implementation for comparison, but it's incomplete