This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site-v2
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/asf-site-v2 by this push:
new 13e3d145f59 deploy: 2b502ae4c2eaee547cab72cb434f6917605573b9
13e3d145f59 is described below
commit 13e3d145f594431a5eb707eda3ca202daf6bc8cf
Author: wangchengming666 <[email protected]>
AuthorDate: Fri Aug 16 08:54:07 2024 +0000
deploy: 2b502ae4c2eaee547cab72cb434f6917605573b9
---
sitemap.xml | 2 +-
.../mannual/java-sdk/advanced-features-and-usage/service/index.xml | 2 +-
.../advanced-features-and-usage/service/local-call/index.html | 6 +++---
zh-cn/sitemap.xml | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/sitemap.xml b/sitemap.xml
index 19e77ae75ed..c99cadc9823 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://dubbo.apache.org/zh-cn/sitemap.xml</loc><lastmod>2024-08-12T09:56:34+08:00</lastmod></sitemap><sitemap><loc>https://dubbo.apache.org/en/sitemap.xml</loc><lastmod>2024-08-09T15:10:01+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://dubbo.apache.org/zh-cn/sitemap.xml</loc><lastmod>2024-08-16T16:48:59+08:00</lastmod></sitemap><sitemap><loc>https://dubbo.apache.org/en/sitemap.xml</loc><lastmod>2024-08-09T15:10:01+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
diff --git
a/zh-cn/overview/mannual/java-sdk/advanced-features-and-usage/service/index.xml
b/zh-cn/overview/mannual/java-sdk/advanced-features-and-usage/service/index.xml
index 9d65420b384..225f4bc7423 100644
---
a/zh-cn/overview/mannual/java-sdk/advanced-features-and-usage/service/index.xml
+++
b/zh-cn/overview/mannual/java-sdk/advanced-features-and-usage/service/index.xml
@@ -2710,7 +2710,7 @@ echo 测试是验证 Dubbo 服务基本功能的一种简单有效的方法,
<p><strong>配置单一次调用为远程调用</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.getServiceContext().setLocalInvoke(<span
style="color:#cb4b16">false</span>);
</span></span></code></pre></div><p><strong>配置单一次调用为本地调用</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.getServiceContext().setLocalInvoker(<span
style="color:#cb4b16">true</span>);
+<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.getServiceContext().setLocalInvoke(<span
style="color:#cb4b16">true</span>);
</span></span></code></pre></div></description></item><item><title>Overview:
延迟暴露</title><link>https://dubbo.apache.org/zh-cn/overview/mannual/java-sdk/advanced-features-and-usage/service/delay-publish/</link><pubDate>Mon,
01 Jan 0001 00:00:00
+0000</pubDate><guid>https://dubbo.apache.org/zh-cn/overview/mannual/java-sdk/advanced-features-and-usage/service/delay-publish/</guid><description>
<h2 id="特性说明">特性说明</h2>
<p>如果你的服务需要预热时间,比如初始化缓存,等待相关资源就位等,可以使用 delay 进行延迟暴露。我们在 Dubbo 2.6.5
版本中对服务延迟暴露逻辑进行了细微的调整,将需要延迟暴露(delay &gt; 0)服务的倒计时动作推迟到了 Spring 初始化完成后进行。你在使用
Dubbo 的过程中,并不会感知到此变化,因此请放心使用。</p>
diff --git
a/zh-cn/overview/mannual/java-sdk/advanced-features-and-usage/service/local-call/index.html
b/zh-cn/overview/mannual/java-sdk/advanced-features-and-usage/service/local-call/index.html
index 92650676f63..9b27df96469 100644
---
a/zh-cn/overview/mannual/java-sdk/advanced-features-and-usage/service/local-call/index.html
+++
b/zh-cn/overview/mannual/java-sdk/advanced-features-and-usage/service/local-call/index.html
@@ -1,5 +1,5 @@
<!doctype html><html lang=zh-cn class=no-js><head><meta name=ROBOTS
content="INDEX, FOLLOW"><link rel=canonical
href=https://dubbo.apache.org/zh-cn/overview/mannual/java-sdk/advanced-features-and-usage/service/local-call/><meta
charset=utf-8><meta name=viewport
content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta
name=generator content="Hugo 0.122.0"><link rel="shortcut icon" type=image/png
href=/imgs/favicon.png><link rel=apple-touch-icon
href=/favicons/apple-touch-icon-1 [...]
-<meta property="og:description" content="在 Dubbo 中进行本地调用"><meta
property="og:type" content="article"><meta property="og:url"
content="https://dubbo.apache.org/zh-cn/overview/mannual/java-sdk/advanced-features-and-usage/service/local-call/"><meta
property="article:section" content="overview"><meta
property="article:modified_time" content="2023-05-18T19:24:40+08:00"><meta
itemprop=name content="本地调用"><meta itemprop=description content="在 Dubbo
中进行本地调用"><meta itemprop=dateModified content=" [...]
+<meta property="og:description" content="在 Dubbo 中进行本地调用"><meta
property="og:type" content="article"><meta property="og:url"
content="https://dubbo.apache.org/zh-cn/overview/mannual/java-sdk/advanced-features-and-usage/service/local-call/"><meta
property="article:section" content="overview"><meta
property="article:modified_time" content="2024-08-16T16:48:59+08:00"><meta
itemprop=name content="本地调用"><meta itemprop=description content="在 Dubbo
中进行本地调用"><meta itemprop=dateModified content=" [...]
<label for=m-zh-cnoverviewhome-check><a href=/zh-cn/overview/home/
title="Dubbo 文档" class="align-left pl-0 td-sidebar-link
td-sidebar-link__section"
id=m-zh-cnoverviewhome><span>主页</span></a></label></li><li
class="td-sidebar-nav__section-title td-sidebar-nav__section with-child"
id=m-zh-cnoverviewquickstart-li><input type=checkbox
id=m-zh-cnoverviewquickstart-check>
<label for=m-zh-cnoverviewquickstart-check><a href=/zh-cn/overview/quickstart/
title="Dubbo 入门" class="align-left pl-0 td-sidebar-link
td-sidebar-link__section"
id=m-zh-cnoverviewquickstart><span>入门</span></a></label><ul class="ul-2
foldable"><li class="td-sidebar-nav__section-title td-sidebar-nav__section
with-child" id=m-zh-cnoverviewquickstartjava-li><input type=checkbox
id=m-zh-cnoverviewquickstartjava-check>
<label for=m-zh-cnoverviewquickstartjava-check><a
href=/zh-cn/overview/quickstart/java/ title="Java 微服务开发入门" class="align-left
pl-0 td-sidebar-link td-sidebar-link__section"
id=m-zh-cnoverviewquickstartjava><span>Java</span></a></label><ul class="ul-3
foldable"><li class="td-sidebar-nav__section-title td-sidebar-nav__section
without-child" id=m-zh-cnoverviewquickstartjavabrief-li><input type=checkbox
id=m-zh-cnoverviewquickstartjavabrief-check>
@@ -689,9 +689,9 @@
</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><div class="alert alert-warning"
role=alert><h4 class=alert-heading>注意</h4><strong>Dubbo 从 <code>2.2.0</code>
每个服务默认都会在本地暴露,无需进行任何配置即可进行本地引用,如果不希望服务进行远程暴露,只需要在 provider 将 protocol 设置成 injvm
即可。</strong></div><h3 id=自动暴露>自动暴露</h3><p>从 <code>2.2.0</code>
开始,每个服务默认都会在本地暴露。在引用服务的时候,默认优先引用本地服务。如果希望引用远程服务可以使用一下配置强制引用远程服务。</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=lan [...]
</span></span></code></pre></div><h3
id=动态配置调用行为>动态配置调用行为</h3><p>从<code>3.2</code>开始,Dubbo提供api可以让用户在使用中动态地去配置单一次调用时为本地调用或者远程调用,当没配置的时候将默认优先引用本地服务</p><p><strong>配置单一次调用为远程调用</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.getServiceContext().setLocalInvoke(<span
style=color:#cb4b16>false</span>);
-</span></span></code></pre></div><p><strong>配置单一次调用为本地调用</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.getServiceContext().setLocalInvoker(<span
style=color:#cb4b16>true</span>);
+</span></span></code></pre></div><p><strong>配置单一次调用为本地调用</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.getServiceContext().setLocalInvoke(<span
style=color:#cb4b16>true</span>);
</span></span></code></pre></div><div id=pre-footer><h2>反馈</h2><p
class=feedback--prompt>此页是否对您有帮助?</p><button class="btn btn-primary mb-4
feedback--yes">是</button>
-<button class="btn btn-primary mb-4
feedback--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__disabled
[...]
+<button class="btn btn-primary mb-4
feedback--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__disabled
[...]
<a
href="https://github.com/apache/dubbo-website/new/master/content/zh-cn/overview/mannual/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-star
[...]
<a
href="https://github.com/apache/dubbo-website/issues/new?title=%e6%9c%ac%e5%9c%b0%e8%b0%83%e7%94%a8"
target=_blank><i class="fab fa-github fa-fw"></i> 登记问题</a>
<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas
fa-tasks fa-fw"></i> 提交项目问题</a></div><nav id=TableOfContents><ul><li><a
href=#特性说明>特性说明</a></li><li><a href=#使用场景>使用场景</a></li><li><a
href=#使用方式>使用方式</a><ul><li><a href=#定义-injvm-协议>定义 injvm 协议</a></li><li><a
href=#设置默认协议>设置默认协议</a></li><li><a href=#设置服务协议>设置服务协议</a></li><li><a
href=#优先使用-injvm>优先使用 injvm</a></li><li><a href=#自动暴露>自动暴露</a></li><li><a
href=#动态配置调用行为>动态配置调用行为</a></li></ul></li></ul></nav></div>< [...]
\ No newline at end of file
diff --git a/zh-cn/sitemap.xml b/zh-cn/sitemap.xml
index 71f7de12591..a9046efb100 100644
--- a/zh-cn/sitemap.xml
+++ b/zh-cn/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://dubbo.apache.org/zh-cn/blog/2023/01/16/%E9%98%BF%E9%87%8C%E5%B7%B4%E5%B7%B4%E5%8D%87%E7%BA%A7-dubbo3-%E5%85%A8%E9%9D%A2%E5%8F%96%E4%BB%A3-hsf2/</loc><lastmod>2023-11-28T15:14:12+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority></url><url><loc>https://dubbo.apache.org/zh-cn/overview/mannual/jav
[...]
\ 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://dubbo.apache.org/zh-cn/blog/2023/01/16/%E9%98%BF%E9%87%8C%E5%B7%B4%E5%B7%B4%E5%8D%87%E7%BA%A7-dubbo3-%E5%85%A8%E9%9D%A2%E5%8F%96%E4%BB%A3-hsf2/</loc><lastmod>2023-11-28T15:14:12+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority></url><url><loc>https://dubbo.apache.org/zh-cn/overview/mannual/jav
[...]
\ No newline at end of file