From 0db4ffbbc4d7355e98ab4d538ce7d432fb7182b5 Mon Sep 17 00:00:00 2001 From: KuiLiao Date: Wed, 6 Apr 2022 17:20:17 +0800 Subject: [PATCH] update --- conf.sample.yml | 6 +++--- go.mod | 2 +- go.sum | 6 ++---- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/conf.sample.yml b/conf.sample.yml index 5ea5a3d..c0f244a 100644 --- a/conf.sample.yml +++ b/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 diff --git a/go.mod b/go.mod index e58db31..40c778d 100644 --- a/go.mod +++ b/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 diff --git a/go.sum b/go.sum index b2170c3..53e2966 100644 --- a/go.sum +++ b/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=