Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change local call english info #357

Merged
merged 2 commits into from
Apr 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/en-us/user/demos/local-call.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ or
<dubbo:service injvm="true" .../>
```

Note: Both service provider and service references need to declare `injvm="true"`
Note: Dubbo is exposed locally from `2.2.0` by default. It can be referenced locally without any configuration. If you don't want the service to be exposed remotely, you only need to set the protocol to injvm in the provider.

## Automatically exposed, local service references

Expand Down
3 changes: 1 addition & 2 deletions docs/zh-cn/user/demos/local-call.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
<dubbo:service injvm="true" .../>
```

注意:服务暴露与服务引用都需要声明 `injvm="true"`

注意:dubbo从 `2.2.0` 每个服务默认都会在本地暴露,无需进行任何配置即可进行本地引用,如果不希望服务进行远程暴露,只需要在provider将protocol设置成injvm即可
## 自动暴露、引用本地服务

从 `2.2.0` 开始,每个服务默认都会在本地暴露。在引用服务的时候,默认优先引用本地服务。如果希望引用远程服务可以使用一下配置强制引用远程服务。
Expand Down