🔥A cross-language distributed transaction manager. Support xa, tcc, saga, transactional messages. 跨语言分布式事务管理器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
xlf d34bbd1ba4 update:use len(m) * 2 because it is more readable. 1 year ago
..
dtmcli feat(common): add redis cluster support 2 years ago
dtmgrpc update:use len(m) * 2 because it is more readable. 1 year ago
workflow Fix some typos in comments 2 years ago
README.md add client readme 3 years ago

README.md

Go Client for DTM

There are there packages:

workflow

Workflow is a new client for DTM. It support the mixed usage of patterns saga, tcc, xa. And it also support the mixed usage of http, grpc and local transactions.

This pattern offers maximum flexibility and can handle a wide range of scenarios. This pattern is highly recommended for transactions that need to be rolled back

Quick start for workflow using http can be found here: https://github.com/dtm-labs/quick-start-sample/tree/main/workflow-http

Quick start for workflow using grpc can be found here: https://github.com/dtm-labs/quick-start-sample/tree/main/workflow-grpc

Detailed examples can be found here: https://github.com/dtm-labs/dtm-examples

dtmcli

dtmcli is the http client for patterns: saga, tcc, msg, xa

Quick start for dtmcli can be found here: https://github.com/dtm-labs/quick-start-sample/tree/main/dtmcli-qs

Detailed examples can be found here: https://github.com/dtm-labs/dtm-examples

dtmgrpc

dtmcli is the grpc client for patterns: saga, tcc, msg, xa

Quick start for dtmgrpc can be found here: https://github.com/dtm-labs/quick-start-sample/tree/main/dtmgrpc-qs

Detailed examples can be found here: https://github.com/dtm-labs/dtm-examples