This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch cn-site
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/cn-site by this push:
new 8a56922aa7 deploy: 4d8e6b4d1bfbc5eb50fcd1fbdf8ac321ea1a9205
8a56922aa7 is described below
commit 8a56922aa7dff057c607f7286cc2676034ec847a
Author: AlbumenJ <[email protected]>
AuthorDate: Thu Mar 23 12:10:53 2023 +0000
deploy: 4d8e6b4d1bfbc5eb50fcd1fbdf8ac321ea1a9205
---
.../java-sdk/advanced-features-and-usage/service/index.xml | 8 +++++++-
.../advanced-features-and-usage/service/local-call/index.html | 10 ++++++----
en/sitemap.xml | 2 +-
sitemap.xml | 2 +-
4 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/en/docs3-v2/java-sdk/advanced-features-and-usage/service/index.xml
b/en/docs3-v2/java-sdk/advanced-features-and-usage/service/index.xml
index 075c74b490..a08f6a274f 100644
--- a/en/docs3-v2/java-sdk/advanced-features-and-usage/service/index.xml
+++ b/en/docs3-v2/java-sdk/advanced-features-and-usage/service/index.xml
@@ -2546,10 +2546,16 @@ To customize the logic of creating invoker, please
implement <code>org.apache
<div class="highlight"><pre tabindex="0"
style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-xml" data-lang="xml"><span
style="display:flex;"><span><span
style="color:#268bd2">&lt;dubbo:reference</span> injvm=<span
style="color:#2aa198">&#34;true&#34;</span> ...<span
style="color:#268bd2">/&gt;</span>
</span></span><span style="display:flex;"><span><span
style="color:#268bd2">&lt;dubbo:service</span> injvm=<span
style="color:#2aa198">&#34;true&#34;</span> ...<span
style="color:#268bd2">/&gt;</span>
</span></span></code></pre></div><h4
id="notice">Notice:</h4>
-<p>**Dubbo from <code>2.2.0</code>, each service will be exposed
locally by default, and can be referenced locally without any configuration. If
you do not want the service to be exposed remotely, you only need to set the
protocol to injvm in the provider. **</p>
+<p>Dubbo from <code>2.2.0</code>, each service will be exposed
locally by default, and can be referenced locally without any configuration. If
you do not want the service to be exposed remotely, you only need to set the
protocol to injvm in the provider. **</p>
<h3 id="automatic-exposure">Automatic exposure</h3>
<p>Starting with <code>2.2.0</code>, every service is exposed locally
by default. When referencing services, local services are preferred by default.
If you want to reference remote services, you can use the following
configuration to force references to remote services.</p>
<div class="highlight"><pre tabindex="0"
style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-xml" data-lang="xml"><span
style="display:flex;"><span><span
style="color:#268bd2">&lt;dubbo:reference</span> ... scope=<span
style="color:#2aa198">&#34;remote&#34;</span> <span
style="color:#268bd2">/&gt;</span>
+</span></span></code></pre></div><h3
id="dynamic-configuration-call-behavior">Dynamic configuration call
behavior</h3>
+<p>Starting with&rsquo; 3.2&rsquo;, the api provided by Dubbo
allows users to dynamically configure whether a single call is a local call or
a remote call, and when it is not configured, the local service will be
referenced first by default.</p>
+<p><strong>Configure a single call as a remote call.</strong></p>
+<div class="highlight"><pre tabindex="0"
style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-java" data-lang="java"><span
style="display:flex;"><span>RpcContext<span
style="color:#719e07">.</span>getServiceContext<span
style="color:#719e07">().</span>setLocalInvoke<span
style="color:#719e07">(</span><span
style="color:#cb4b16">false</span><span style="color:#719e07">);</span>
+</span></span></code></pre></div><p><strong>Configure a
single call as a local call.</strong></p>
+<div class="highlight"><pre tabindex="0"
style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-java" data-lang="java"><span
style="display:flex;"><span>RpcContext<span
style="color:#719e07">.</span>getServiceContext<span
style="color:#719e07">().</span>setLocalInvoker<span
style="color:#719e07">(</span><span
style="color:#cb4b16">true</span><span style="color:#719e07">);</span>
</span></span></code></pre></div></description></item><item><title>Docs3-V2:
Delayed
Exposure</title><link>https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/advanced-features-and-usage/service/delay-publish/</link><pubDate>Mon,
01 Jan 0001 00:00:00
+0000</pubDate><guid>https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/advanced-features-and-usage/service/delay-publish/</guid><description>
<p>If your service needs warm-up time, such as initializing the cache,
waiting for related resources to be in place, etc., you can use delay for
delayed exposure. In Dubbo version 2.6.5, we made minor adjustments to the
service delay exposure logic, and postponed the countdown action for services
that require delay exposure (delay &gt; 0) until Spring initialization is
complete. You will not feel this change while using Dubbo, so please feel free
to use it.</p>
<h2 id="versions-before-dubbo-265">Versions before Dubbo 2.6.5</h2>
diff --git
a/en/docs3-v2/java-sdk/advanced-features-and-usage/service/local-call/index.html
b/en/docs3-v2/java-sdk/advanced-features-and-usage/service/local-call/index.html
index 372f4856a9..0fd20c21b2 100644
---
a/en/docs3-v2/java-sdk/advanced-features-and-usage/service/local-call/index.html
+++
b/en/docs3-v2/java-sdk/advanced-features-and-usage/service/local-call/index.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en class=no-js><head><meta name=ROBOTS
content="INDEX, FOLLOW"><link rel=canonical
href=https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/advanced-features-and-usage/service/local-call/><script>var
_hmt=_hmt||[];(function(){var
e,t=document.createElement("script");t.src="https://hm.baidu.com/hm.js?3b78f49ba47181e4d998a66b689446e9",e=document.getElementsByTagName("script")[0],e.parentNode.insertBefore(t,e)})()</script><meta
charset=utf-8><meta name=viewport conten [...]
+<!doctype html><html lang=en class=no-js><head><meta name=ROBOTS
content="INDEX, FOLLOW"><link rel=canonical
href=https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/advanced-features-and-usage/service/local-call/><script>var
_hmt=_hmt||[];(function(){var
e,t=document.createElement("script");t.src="https://hm.baidu.com/hm.js?3b78f49ba47181e4d998a66b689446e9",e=document.getElementsByTagName("script")[0],e.parentNode.insertBefore(t,e)})()</script><meta
charset=utf-8><meta name=viewport conten [...]
<script>var
doNotTrack=!1;if(!doNotTrack){window.dataLayer=window.dataLayer||[];function
gtag(){dataLayer.push(arguments)}gtag("js",new
Date),gtag("config","G-NM6FFMT51J",{anonymize_ip:!1})}</script><link
rel=preload
href=/scss/main.min.578ffe330fde90c98ec1a836a78e3a4f7ea2a73a72f353cdd331fc3f8dd3a3cd.css
as=style><link
href=/scss/main.min.578ffe330fde90c98ec1a836a78e3a4f7ea2a73a72f353cdd331fc3f8dd3a3cd.css
rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js
integrity="sha256-9/a [...]
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3><meta
name=theme-color content="#326ce5"><link rel=stylesheet
href=/css/feature-states.css><meta name=description content="Local call in
Dubbo"><meta property="og:description" content="Local call in Dubbo"><meta
name=twitter:description content="Local call in Dubbo"><meta property="og:url"
content="https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/advanced-features-and-usage/service/local-call/"><meta
property="og:tit [...]
<link href=/css/community.css rel=stylesheet><link href=/css/contactus.css
rel=stylesheet><link href=/css/language.css rel=stylesheet><script
src=/js/script.js></script></head><body class="td-page
td-documentation"><header><nav class="js-navbar-scroll navbar navbar-expand
navbar-dark flex-column flex-md-row td-navbar" data-auto-burger=primary><a
class=navbar-brand href=/en/><span class=navbar-logo></span><span
class="text-uppercase font-weight-bold">Apache Dubbo</span></a><div class="td-
[...]
@@ -511,12 +511,14 @@
</span></span><span style=display:flex><span><span
style=color:#268bd2><dubbo:provider</span> injvm=<span
style=color:#2aa198>"true"</span> ...<span
style=color:#268bd2>/></span>
</span></span></code></pre></div><p><strong>or</strong></p><div
class=highlight><pre tabindex=0
style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-xml data-lang=xml><span style=display:flex><span><span
style=color:#268bd2><dubbo:reference</span> injvm=<span
style=color:#2aa198>"true"</span> ...<span
style=color:#268bd2>/></span>
</span></span><span style=display:flex><span><span
style=color:#268bd2><dubbo:service</span> injvm=<span
style=color:#2aa198>"true"</span> ...<span
style=color:#268bd2>/></span>
-</span></span></code></pre></div><h4 id=notice>Notice:</h4><p>**Dubbo from
<code>2.2.0</code>, each service will be exposed locally by default, and can be
referenced locally without any configuration. If you do not want the service to
be exposed remotely, you only need to set the protocol to injvm in the
provider. **</p><h3 id=automatic-exposure>Automatic exposure</h3><p>Starting
with <code>2.2.0</code>, every service is exposed locally by default. When
referencing services, local servic [...]
+</span></span></code></pre></div><h4 id=notice>Notice:</h4><p>Dubbo from
<code>2.2.0</code>, each service will be exposed locally by default, and can be
referenced locally without any configuration. If you do not want the service to
be exposed remotely, you only need to set the protocol to injvm in the
provider. **</p><h3 id=automatic-exposure>Automatic exposure</h3><p>Starting
with <code>2.2.0</code>, every service is exposed locally by default. When
referencing services, local services [...]
+</span></span></code></pre></div><h3
id=dynamic-configuration-call-behavior>Dynamic configuration call
behavior</h3><p>Starting with’ 3.2’, the api provided by Dubbo
allows users to dynamically configure whether a single call is a local call or
a remote call, and when it is not configured, the local service will be
referenced first by default.</p><p><strong>Configure a single call as a remote
call.</strong></p><div class=highlight><pre tabindex=0
style=color:#93a1a1;backgroun [...]
+</span></span></code></pre></div><p><strong>Configure a single call as a local
call.</strong></p><div class=highlight><pre tabindex=0
style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-java data-lang=java><span
style=display:flex><span>RpcContext<span
style=color:#719e07>.</span>getServiceContext<span
style=color:#719e07>().</span>setLocalInvoker<span
style=color:#719e07>(</span><span style=color:#cb4b16>true</span><span
style=color [...]
</span></span></code></pre></div><div id=pre-footer><h2>Feedback</h2><p
class=feedback--prompt>Was this page helpful?</p><button class="btn btn-primary
mb-4 feedback--yes">Yes</button>
-<button class="btn btn-primary mb-4
feedback--no">No</button></div><script>const
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disable
[...]
+<button class="btn btn-primary mb-4
feedback--no">No</button></div><script>const
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disable
[...]
<a
href="https://github.com/apache/dubbo-website/new/master/content/en/docs3-v2/java-sdk/advanced-features-and-usage/service/local-call.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0
[...]
<a
href="https://github.com/apache/dubbo-website/issues/new?title=Local%20call"
target=_blank><i class="fab fa-github fa-fw"></i> Create an issue</a>
-<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas
fa-tasks fa-fw"></i> Create project issue</a></div><nav
id=TableOfContents><ul><li><a href=#feature-description>Feature
description</a></li><li><a href=#scenes-to-be-used>scenes to be
used</a></li><li><a href=#how-to-use>How to use</a><ul><li><a
href=#define-the-injvm-protocol>Define the injvm protocol</a></li><li><a
href=#set-the-default-protocol>Set the default protocol</a></li><li><a
href=#set-service-proto [...]
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas
fa-tasks fa-fw"></i> Create project issue</a></div><nav
id=TableOfContents><ul><li><a href=#feature-description>Feature
description</a></li><li><a href=#scenes-to-be-used>scenes to be
used</a></li><li><a href=#how-to-use>How to use</a><ul><li><a
href=#define-the-injvm-protocol>Define the injvm protocol</a></li><li><a
href=#set-the-default-protocol>Set the default protocol</a></li><li><a
href=#set-service-proto [...]
<script src=/js/bootstrap.min.js
integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy
crossorigin=anonymous></script>
<script
src=/js/main.min.b075178d232d3b0039b3cb6af2fc2e9d90071820167a60f4eea3a79169975ee8.js
integrity="sha256-sHUXjSMtOwA5s8tq8vwunZAHGCAWemD07qOnkWmXXug="
crossorigin=anonymous></script>
<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
diff --git a/en/sitemap.xml b/en/sitemap.xml
index 218a061c0d..73386cbbfe 100644
--- a/en/sitemap.xml
+++ b/en/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/faq/0/</loc><lastmod>2023-01-02T18:18:49+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority></url><url><loc>https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/faq/0/1/</loc><lastmod>2023-01-03T15:09:00+08:00</lastmod><changefreq>monthly</changefreq><priorit
[...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/faq/0/</loc><lastmod>2023-01-02T18:18:49+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority></url><url><loc>https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/faq/0/1/</loc><lastmod>2023-01-03T15:09:00+08:00</lastmod><changefreq>monthly</changefreq><priorit
[...]
\ No newline at end of file
diff --git a/sitemap.xml b/sitemap.xml
index 251ad2f052..d887fbd512 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://cn.dubbo.apache.org/zh-cn/sitemap.xml</loc><lastmod>2023-03-23T20:05:19+08:00</lastmod></sitemap><sitemap><loc>https://cn.dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-03-23T16:50:25+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://cn.dubbo.apache.org/zh-cn/sitemap.xml</loc><lastmod>2023-03-23T20:05:19+08:00</lastmod></sitemap><sitemap><loc>https://cn.dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-03-23T20:05:50+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file