You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2019/07/24 06:12:37 UTC

[servicecomb-pack] 04/05: SCB-1389 Polish chinese doc to match with en version

This is an automated email from the ASF dual-hosted git repository.

ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git

commit 57ab92b7a1ee36bc83ddf00be5cccf30192fe7fc
Author: Daniel Qian <ch...@gmail.com>
AuthorDate: Tue Jul 23 15:37:14 2019 +0800

    SCB-1389 Polish chinese doc to match with en version
---
 docs/user_guide_zh.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/user_guide_zh.md b/docs/user_guide_zh.md
index a12caf4..f385f37 100644
--- a/docs/user_guide_zh.md
+++ b/docs/user_guide_zh.md
@@ -143,7 +143,7 @@ public void bar() {
 目前Omega支持以下形式的隐式事务上下文传递:
 
 1. omega-transport-{dubbo,feign,resttemplate,servicecomb}。
-2. 同线程内调用。
+2. 同线程内调用(基于OmegaContext的ThreadLocal字段)。
 3. 标注了@OmegaContextAware的java.util.concurrent.Executor{Service}。
 
 那么问题来了,如果隐式传递事务上下文不行怎么办?比如Service A使用某种RPC机制件来调用Service B,而你又没有办法注入或提取事务上下文信息。这个时候你只能采用显式的方式把事务上下文传递出去。Omega提供了两个类来实现这一点。