Download
Seata Go v2.1.0 is the current stable release, covering AT, TCC, SAGA, and XA modes with registry options for file, Nacos, and Etcd.
System Requirements
| Item | Requirement / Notes |
|---|---|
| Go toolchain | Go 1.20 or newer with modules enabled (go env GOPATH configured) |
| Seata Server | Seata Server 2.5.0+ reachable from your services (HTTP/2 enabled by default in 2.5.0) |
| Registry / Config | File, Nacos, or Etcd v3 registry; optional config center via file or Nacos |
| Database | MySQL 5.7/8.0 for AT & XA; Oracle supported through go-ora (XA) |
| Operating system | Linux, macOS, Windows (amd64/arm64) |
Stable Version
The source archive below is the official Apache Seata Go (incubating) release. Go Modules provides a convenient way to add the SDK to an application; the signed source archive remains available for independent release verification.
v2.1.0 changelog · Samples & docs
- For upgrade guidance, follow the project README and keep module dependencies in sync with Seata Server.
- Older releases are available from the Seata Go archive.
Install via Go Modules
- (Optional) Pin a proxy for faster downloads:
go env -w GOPROXY=https://goproxy.cn,direct. - Add the SDK to your module:
go get seata.apache.org/seata-go/v2@v2.1.0(records togo.mod/go.sum). - Lock the dependency explicitly by keeping
require seata.apache.org/seata-go/v2 v2.1.0and runninggo mod tidy. - Verify dependency integrity before committing:
go list seata.apache.org/seata-go/v2/....
Verify the releases
Verify the downloaded archive before using it. SHA-512 checksums detect incomplete or changed downloads; OpenPGP signatures verify that the archive was signed by the corresponding key. A checksum alone does not authenticate the publisher.
Download KEYS, the .asc signature and the .sha512 checksum directly from the Apache distribution directory using the links above. KEYS contains public keys; it is not a signature file.
Verify signatures
Import the public keys:
gpg --import KEYS
Run the command for each archive you downloaded:
gpg --verify incubator-seata-go-v2.1.0-src.tar.gz.asc incubator-seata-go-v2.1.0-src.tar.gz
A Good signature result verifies the signature against the imported key. Also confirm the signer's key fingerprint; importing KEYS does not by itself establish trust in a key. See the ASF verification guide for details.
Verify checksums
Keep each archive and its .sha512 file in the same directory, then run the matching command:
shasum -a 512 -c incubator-seata-go-v2.1.0-src.tar.gz.sha512
An OK result confirms that the archive matches the published checksum.
Additional Resources
- Seata Go repository: apache/incubator-seata-go
- Go samples: apache/incubator-seata-go-samples
- Configuration reference:
pkg/client/config.go - Transaction mode overview: Seata documentation