From e0aab7bc318a5c482e2db4f9c185e45410c8732d Mon Sep 17 00:00:00 2001 From: bin liu Date: Fri, 25 Jun 2021 14:59:47 +0800 Subject: [PATCH] fix wrong config path for running TC Signed-off-by: bin liu --- .gitignore | 3 ++- README.md | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 9b59d8c9..1e40d334 100644 --- a/.gitignore +++ b/.gitignore @@ -20,4 +20,5 @@ root.data.1 trace.out cmd/tc/cmd cmd/tc/tc -cmd/tc/trace.out \ No newline at end of file +cmd/tc/trace.out +log/ diff --git a/README.md b/README.md index a8250977..f8b86f94 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ mysql driver 集成 seata-golang 的工作已经完成,该 driver 基于 https ### GRPC 版本 -为了更加贴近云原生,我们将通信层换成了 grpc 协议,简化了服务发现机制,可使用域名或 host 进行 rpc 调用,更加贴近云原生,而 v1 版本使用基于 tcp 的 rpc 协议,需要在 tc 内部维护 client 的注册信息,实现上相对更复杂。grpc 版本的代码见于 https://github.com/opentrx/seata-golang/tree/v2,demo 见于 https://github.com/opentrx/seata-go-samples/tree/v2。理论上使用 grpc 协议的 seata 可以集成到 istio,实现链路追踪。 +为了更加贴近云原生,我们将通信层换成了 grpc 协议,简化了服务发现机制,可使用域名或 host 进行 rpc 调用,更加贴近云原生,而 v1 版本使用基于 tcp 的 rpc 协议,需要在 tc 内部维护 client 的注册信息,实现上相对更复杂。grpc 版本的代码见于 https://github.com/opentrx/seata-golang/tree/v2 ,demo 见于 https://github.com/opentrx/seata-go-samples/tree/v2 。理论上使用 grpc 协议的 seata 可以集成到 istio,实现链路追踪。 ### 运行 TC @@ -48,5 +48,5 @@ cd ${targetpath} + 启动 TC ``` -./cmd start -config ${projectpath}/tc/app/profiles/dev/config.yml +./cmd start -config ${projectpath}/cmd/profiles/dev/config.yml ```