Browse Source

update

pull/262/head
KuiLiao 4 years ago
parent
commit
0db4ffbbc4
  1. 6
      conf.sample.yml
  2. 2
      go.mod
  3. 6
      go.sum

6
conf.sample.yml

@ -39,9 +39,9 @@ Store: # specify which engine to store trans status
MicroService:
Driver: 'dtm-driver-nacos' # name of the driver to handle register/discover
Target: '121.4.131.37:8848' # register dtm server to this url
EndPoint: '192.168.101.9:26789'
OptionsJson: '{"username": "nacos", "password": "nacos", "namespaceId": "8c8d6e54-33dd-4d76-b69b-3f477d6ebf59"}' # micro service other config message, example: '{"username": "nacos", "password": "nacos"}'
Target: '1.14.127.29:8848' # register dtm server to this url
EndPoint: '192.168.101.9:36789'
OptionsJson: '{"username": "nacos", "password": "nacos", "namespaceId": "c3dc917d-906a-429d-90a9-85012b41014e"}' # micro service other config message, example: '{"username": "nacos", "password": "nacos"}'
### the unit of following configurations is second
# TransCronInterval: 3 # the interval to poll unfinished global transaction for every dtm process

2
go.mod

@ -14,7 +14,7 @@ require (
github.com/go-redis/redis/v8 v8.11.4
github.com/go-resty/resty/v2 v2.7.0
github.com/go-sql-driver/mysql v1.6.0
github.com/horseLk/dtmdriver-nacos v1.0.4
github.com/horseLk/dtmdriver-nacos v1.0.5
github.com/lib/pq v1.10.4
github.com/lithammer/shortuuid v2.0.3+incompatible
github.com/lithammer/shortuuid/v3 v3.0.7

6
go.sum

@ -297,10 +297,8 @@ github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/b
github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
github.com/hashicorp/golang-lru v0.5.1 h1:0hERBMJE1eitiLkihrMvRVBYAkpHzc/J3QdDN+dAcgU=
github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
github.com/horseLk/dtmdriver-nacos v1.0.3 h1:dGd8qHG+XWfohprrTmBoVbR+OJeu4/z4d3jlXOSucBA=
github.com/horseLk/dtmdriver-nacos v1.0.3/go.mod h1:sLy9zEQ50isWNDbcxOXf50+PBdYfRTUpA4MUsr0uhPQ=
github.com/horseLk/dtmdriver-nacos v1.0.4 h1:0kcPQhCVMen+UPLJdX9jzfwj5hRcGsIr/crx436Ng7g=
github.com/horseLk/dtmdriver-nacos v1.0.4/go.mod h1:sLy9zEQ50isWNDbcxOXf50+PBdYfRTUpA4MUsr0uhPQ=
github.com/horseLk/dtmdriver-nacos v1.0.5 h1:M6RGpRHSOObkOl2KdIEfWbQCwsJI6OGJXvcWuozKMiY=
github.com/horseLk/dtmdriver-nacos v1.0.5/go.mod h1:sLy9zEQ50isWNDbcxOXf50+PBdYfRTUpA4MUsr0uhPQ=
github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=

Loading…
Cancel
Save