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 4d37e70ba2 deploy: 061cc8186b9c488311a948491d1301d05b1eafa2
4d37e70ba2 is described below
commit 4d37e70ba22b5ddb13d03a12edb8767410b83443
Author: AlbumenJ <[email protected]>
AuthorDate: Wed Feb 15 12:38:49 2023 +0000
deploy: 061cc8186b9c488311a948491d1301d05b1eafa2
---
sitemap.xml | 2 +-
zh-cn/docs3-v2/golang-sdk/sourcecode/index.html | 2 +-
zh-cn/docs3-v2/golang-sdk/sourcecode/protocol/index.html | 15 +++------------
zh-cn/docs3-v2/golang-sdk/sourcecode/registry/index.html | 9 +++------
zh-cn/sitemap.xml | 2 +-
5 files changed, 9 insertions(+), 21 deletions(-)
diff --git a/sitemap.xml b/sitemap.xml
index eed7a1cefd..b172d7bd68 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-02-15T20:34:04+08:00</lastmod></sitemap><sitemap><loc>https://cn.dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-02-09T17:22:57+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-02-15T20:34:26+08:00</lastmod></sitemap><sitemap><loc>https://cn.dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-02-09T17:22:57+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
diff --git a/zh-cn/docs3-v2/golang-sdk/sourcecode/index.html
b/zh-cn/docs3-v2/golang-sdk/sourcecode/index.html
index 1e07c04f7e..a28ce4adbc 100644
--- a/zh-cn/docs3-v2/golang-sdk/sourcecode/index.html
+++ b/zh-cn/docs3-v2/golang-sdk/sourcecode/index.html
@@ -4,7 +4,7 @@
<a
href=https://github.com/apache/dubbo-website/edit/master/content/zh-cn/docs3-v2/golang-sdk/sourcecode/_index.md
class=td-page-meta--edit target=_blank rel=noopener><i class="fa-solid
fa-pen-to-square fa-fw"></i> 编辑此页</a>
<a
href="https://github.com/apache/dubbo-website/new/master/content/zh-cn/docs3-v2/golang-sdk/sourcecode/_index.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%0A%2A+Edit+the+%22front+matte
[...]
<a
href="https://github.com/apache/dubbo-website/issues/new?title=%e6%ba%90%e7%a0%81%e8%a7%a3%e8%af%bb"
class=td-page-meta--issue target=_blank rel=noopener><i class="fa-solid
fa-list-check fa-fw"></i> 提交文档问题</a>
-<a href=https://github.com/apache/dubbo/issues/new
class=td-page-meta--project-issue target=_blank rel=noopener><i class="fa-solid
fa-list-check fa-fw"></i> 提交项目问题</a></div></aside><main class="col-12 col-md-9
col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb class=td-breadcrumbs><ol
class=breadcrumb><li class=breadcrumb-item><a
href=https://cn.dubbo.apache.org/zh-cn/docs3-v2/>SDK 手册</a></li><li
class=breadcrumb-item><a
href=https://cn.dubbo.apache.org/zh-cn/docs3-v2/golang-sdk/>Gol [...]
+<a href=https://github.com/apache/dubbo/issues/new
class=td-page-meta--project-issue target=_blank rel=noopener><i class="fa-solid
fa-list-check fa-fw"></i> 提交项目问题</a></div></aside><main class="col-12 col-md-9
col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb class=td-breadcrumbs><ol
class=breadcrumb><li class=breadcrumb-item><a
href=https://cn.dubbo.apache.org/zh-cn/docs3-v2/>SDK 手册</a></li><li
class=breadcrumb-item><a
href=https://cn.dubbo.apache.org/zh-cn/docs3-v2/golang-sdk/>Gol [...]
<button class="btn btn-primary mb-4 feedback--answer
feedback--answer-no">No</button><p class="feedback--response
feedback--response-yes">Glad to hear it! Please <a
href=https://github.com/apache/dubbo-website/issues/new>tell us how we can
improve</a>.</p><p class="feedback--response feedback--response-no">Sorry to
hear that. Please <a
href=https://github.com/apache/dubbo-website/issues/new>tell us how we can
improve</a>.</p></div><script>const yesButton=document.querySelector(".feedback
[...]
<script src=/js/bootstrap.min.js
integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy
crossorigin=anonymous></script>
<script
src=/js/main.min.5d9bbf645e25d374ae8412eedf48df17eb2fa1f70fe6cb544c730a1d145d7bd1.js
integrity="sha256-XZu/ZF4l03SuhBLu30jfF+svofcP5stUTHMKHRRde9E="
crossorigin=anonymous></script>
diff --git a/zh-cn/docs3-v2/golang-sdk/sourcecode/protocol/index.html
b/zh-cn/docs3-v2/golang-sdk/sourcecode/protocol/index.html
index cc3e9af10f..68f6f103da 100644
--- a/zh-cn/docs3-v2/golang-sdk/sourcecode/protocol/index.html
+++ b/zh-cn/docs3-v2/golang-sdk/sourcecode/protocol/index.html
@@ -1,19 +1,10 @@
-<!doctype html><html itemscope itemtype=http://schema.org/WebPage lang=zh-cn
class=no-js><head><meta charset=utf-8><meta name=viewport
content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta
name=generator content="Hugo 0.110.0"><meta name=ROBOTS content="INDEX,
FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link
rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png
sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png
sizes=16 [...]
-type Protocol interface { // Export service for remote invocation
Export(invoker Invoker) Exporter // Refer a remote service Refer(url
*common.URL) Invoker // Destroy will destroy all invoker and exporter, so it
only is called once. Destroy() } 该接口包含三个方法。其中 Export 方法负责服务的暴露过程。入参 invoker
为dubbo 的概念,其封装了一个可以被调用的实例。在具体网络协议(例如Triple)实现的 Export
方法中,会针对特定的协议,将封装有一定逻辑的可调用实例 Invoker 以网络端口监听的形式暴露给外部服务,来自外部针对该网络端口的请求将会被 Export
方法开启的监听协程获取,进而根据网络协议进行拆解包和反序列化,得到解析后的请求数据。
-Refer 方法负责服务的引用过程,其入参 url 为 dubbo 框架通用的结构,可以描述一个希望引用的服务,url
参数中包含了多个希望引用服务的参数,例如对应服务的接口名(interface),版本号(version),使用协议(protocol)
等等。在具体网络协议(例如Triple)实现的 Refer 方法中,会将特定的网络协议封装到 Invoker 可调用实例的方法中,用户层发起的 RPC
调用即可直接通过返回的 Invoker 对象,发起特定协议的网络请求。
-Destroy 方法作用为销毁当前暴露的服务,用于服务下线场景。Dubbogo
框架有优雅下线机制,可以在服务进程终止前以监听信号的形式,下线所有已启动的服务。"><meta property="og:type"
content="article"><meta property="og:url"
content="https://cn.dubbo.apache.org/zh-cn/docs3-v2/golang-sdk/sourcecode/protocol/"><meta
property="article:section" content="docs3-v2"><meta
property="article:modified_time" content="2023-02-09T17:22:57+08:00"><meta
property="og:site_name" content="Apache Dubbo"><meta itemprop=name
content="网络协议"><meta itemprop=description content="对于 Dubb [...]
-type Protocol interface { // Export service for remote invocation
Export(invoker Invoker) Exporter // Refer a remote service Refer(url
*common.URL) Invoker // Destroy will destroy all invoker and exporter, so it
only is called once. Destroy() } 该接口包含三个方法。其中 Export 方法负责服务的暴露过程。入参 invoker
为dubbo 的概念,其封装了一个可以被调用的实例。在具体网络协议(例如Triple)实现的 Export
方法中,会针对特定的协议,将封装有一定逻辑的可调用实例 Invoker 以网络端口监听的形式暴露给外部服务,来自外部针对该网络端口的请求将会被 Export
方法开启的监听协程获取,进而根据网络协议进行拆解包和反序列化,得到解析后的请求数据。
-Refer 方法负责服务的引用过程,其入参 url 为 dubbo 框架通用的结构,可以描述一个希望引用的服务,url
参数中包含了多个希望引用服务的参数,例如对应服务的接口名(interface),版本号(version),使用协议(protocol)
等等。在具体网络协议(例如Triple)实现的 Refer 方法中,会将特定的网络协议封装到 Invoker 可调用实例的方法中,用户层发起的 RPC
调用即可直接通过返回的 Invoker 对象,发起特定协议的网络请求。
-Destroy 方法作用为销毁当前暴露的服务,用于服务下线场景。Dubbogo
框架有优雅下线机制,可以在服务进程终止前以监听信号的形式,下线所有已启动的服务。"><meta itemprop=dateModified
content="2023-02-09T17:22:57+08:00"><meta itemprop=wordCount content="72"><meta
itemprop=keywords content><meta name=twitter:card content="summary"><meta
name=twitter:title content="网络协议"><meta name=twitter:description content="对于
Dubbogo 微服务框架,网络协议为远程过程调用中负责网络通信的模块,负责应用层到网络层的数据序列化、打包、请求发起、网络端口监听等功能。Dubbogo
为协议抽象了一套接口如下:
-type Protocol interface { // Export service for remote invocation
Export(invoker Invoker) Exporter // Refer a remote service Refer(url
*common.URL) Invoker // Destroy will destroy all invoker and exporter, so it
only is called once. Destroy() } 该接口包含三个方法。其中 Export 方法负责服务的暴露过程。入参 invoker
为dubbo 的概念,其封装了一个可以被调用的实例。在具体网络协议(例如Triple)实现的 Export
方法中,会针对特定的协议,将封装有一定逻辑的可调用实例 Invoker 以网络端口监听的形式暴露给外部服务,来自外部针对该网络端口的请求将会被 Export
方法开启的监听协程获取,进而根据网络协议进行拆解包和反序列化,得到解析后的请求数据。
-Refer 方法负责服务的引用过程,其入参 url 为 dubbo 框架通用的结构,可以描述一个希望引用的服务,url
参数中包含了多个希望引用服务的参数,例如对应服务的接口名(interface),版本号(version),使用协议(protocol)
等等。在具体网络协议(例如Triple)实现的 Refer 方法中,会将特定的网络协议封装到 Invoker 可调用实例的方法中,用户层发起的 RPC
调用即可直接通过返回的 Invoker 对象,发起特定协议的网络请求。
-Destroy 方法作用为销毁当前暴露的服务,用于服务下线场景。Dubbogo
框架有优雅下线机制,可以在服务进程终止前以监听信号的形式,下线所有已启动的服务。"><script async
src="https://www.googletagmanager.com/gtag/js?id=G-NM6FFMT51J"></script>
+<!doctype html><html itemscope itemtype=http://schema.org/WebPage lang=zh-cn
class=no-js><head><meta charset=utf-8><meta name=viewport
content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta
name=generator content="Hugo 0.110.0"><meta name=ROBOTS content="INDEX,
FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link
rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png
sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png
sizes=16 [...]
<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.dc7554c0c41d7f631ecb7b0f13149f547e695b5cc4443b205c73ce7f3d17caaf.css
as=style><link
href=/scss/main.min.dc7554c0c41d7f631ecb7b0f13149f547e695b5cc4443b205c73ce7f3d17caaf.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></head><body
class=td-page><header><nav class="js-navbar-scroll navbar navbar-expand
navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand
href=/zh-cn/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path
class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05
25.45-22.11V7.25H68.46zm21.24-28h8.6V31H89.7z [...]
<a
href=https://github.com/apache/dubbo-website/edit/master/content/zh-cn/docs3-v2/golang-sdk/sourcecode/protocol.md
class=td-page-meta--edit target=_blank rel=noopener><i class="fa-solid
fa-pen-to-square fa-fw"></i> 编辑此页</a>
<a
href="https://github.com/apache/dubbo-website/new/master/content/zh-cn/docs3-v2/golang-sdk/sourcecode/protocol.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%0A%2A+Edit+the+%22front+mat
[...]
<a
href="https://github.com/apache/dubbo-website/issues/new?title=%e7%bd%91%e7%bb%9c%e5%8d%8f%e8%ae%ae"
class=td-page-meta--issue target=_blank rel=noopener><i class="fa-solid
fa-list-check fa-fw"></i> 提交文档问题</a>
-<a href=https://github.com/apache/dubbo/issues/new
class=td-page-meta--project-issue target=_blank rel=noopener><i class="fa-solid
fa-list-check fa-fw"></i> 提交项目问题</a></div></aside><main class="col-12 col-md-9
col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb class=td-breadcrumbs><ol
class=breadcrumb><li class=breadcrumb-item><a
href=https://cn.dubbo.apache.org/zh-cn/docs3-v2/>SDK 手册</a></li><li
class=breadcrumb-item><a
href=https://cn.dubbo.apache.org/zh-cn/docs3-v2/golang-sdk/>Gol [...]
+<a href=https://github.com/apache/dubbo/issues/new
class=td-page-meta--project-issue target=_blank rel=noopener><i class="fa-solid
fa-list-check fa-fw"></i> 提交项目问题</a></div></aside><main class="col-12 col-md-9
col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb class=td-breadcrumbs><ol
class=breadcrumb><li class=breadcrumb-item><a
href=https://cn.dubbo.apache.org/zh-cn/docs3-v2/>SDK 手册</a></li><li
class=breadcrumb-item><a
href=https://cn.dubbo.apache.org/zh-cn/docs3-v2/golang-sdk/>Gol [...]
</span></span><span style=display:flex><span> <span style=color:#586e75>//
Export service for remote invocation
</span></span></span><span style=display:flex><span><span
style=color:#586e75></span> <span style=color:#268bd2>Export</span>(invoker
Invoker) Exporter
</span></span><span style=display:flex><span> <span style=color:#586e75>//
Refer a remote service
@@ -22,7 +13,7 @@ Destroy 方法作用为销毁当前暴露的服务,用于服务下线场景。
</span></span></span><span style=display:flex><span><span
style=color:#586e75></span> <span style=color:#268bd2>Destroy</span>()
</span></span><span style=display:flex><span>}
</span></span></code></pre></div><p>该接口包含三个方法。其中 Export 方法负责服务的暴露过程。入参 invoker
为dubbo 的概念,其封装了一个可以被调用的实例。在具体网络协议(例如Triple)实现的 Export
方法中,会针对特定的协议,将封装有一定逻辑的可调用实例 Invoker 以网络端口监听的形式暴露给外部服务,来自外部针对该网络端口的请求将会被 Export
方法开启的监听协程获取,进而根据网络协议进行拆解包和反序列化,得到解析后的请求数据。</p><p>Refer 方法负责服务的引用过程,其入参 url 为
dubbo 框架通用的结构,可以描述一个希望引用的服务,url
参数中包含了多个希望引用服务的参数,例如对应服务的接口名(interface),版本号(version),使用协议(protocol)
等等。在具体网络协议(例如Triple)实现的 Refer 方法中,会将特定的网络协议封装到 Invoker 可调用
实例的方法中,用户层发起的 RPC 调用即可直接通过返回的 Invoker 对象,发起特定 [...]
-<button class="btn btn-primary mb-4 feedback--answer
feedback--answer-no">No</button><p class="feedback--response
feedback--response-yes">Glad to hear it! Please <a
href=https://github.com/apache/dubbo-website/issues/new>tell us how we can
improve</a>.</p><p class="feedback--response feedback--response-no">Sorry to
hear that. Please <a
href=https://github.com/apache/dubbo-website/issues/new>tell us how we can
improve</a>.</p></div><script>const yesButton=document.querySelector(".feedback
[...]
+<button class="btn btn-primary mb-4 feedback--answer
feedback--answer-no">No</button><p class="feedback--response
feedback--response-yes">Glad to hear it! Please <a
href=https://github.com/apache/dubbo-website/issues/new>tell us how we can
improve</a>.</p><p class="feedback--response feedback--response-no">Sorry to
hear that. Please <a
href=https://github.com/apache/dubbo-website/issues/new>tell us how we can
improve</a>.</p></div><script>const yesButton=document.querySelector(".feedback
[...]
<script src=/js/bootstrap.min.js
integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy
crossorigin=anonymous></script>
<script
src=/js/main.min.5d9bbf645e25d374ae8412eedf48df17eb2fa1f70fe6cb544c730a1d145d7bd1.js
integrity="sha256-XZu/ZF4l03SuhBLu30jfF+svofcP5stUTHMKHRRde9E="
crossorigin=anonymous></script>
<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
diff --git a/zh-cn/docs3-v2/golang-sdk/sourcecode/registry/index.html
b/zh-cn/docs3-v2/golang-sdk/sourcecode/registry/index.html
index ed4ea8d326..11dd03543f 100644
--- a/zh-cn/docs3-v2/golang-sdk/sourcecode/registry/index.html
+++ b/zh-cn/docs3-v2/golang-sdk/sourcecode/registry/index.html
@@ -1,13 +1,10 @@
-<!doctype html><html itemscope itemtype=http://schema.org/WebPage lang=zh-cn
class=no-js><head><meta charset=utf-8><meta name=viewport
content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta
name=generator content="Hugo 0.110.0"><meta name=ROBOTS content="INDEX,
FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link
rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png
sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png
sizes=16 [...]
-// Registry Extension - Registry type Registry interface { common.Node //
Register is used for service provider calling, register services // to
registry. And it is also used for service consumer calling, register //
services cared about, for dubbo's admin monitoring. Register(url *common.URL)
error // UnRegister is required to support the contract: // 1. If it is the
persistent stored data of dynamic=false, the // registration data can not be
found, then the IllegalStateException // is [...]
-// Registry Extension - Registry type Registry interface { common.Node //
Register is used for service provider calling, register services // to
registry. And it is also used for service consumer calling, register //
services cared about, for dubbo's admin monitoring. Register(url *common.URL)
error // UnRegister is required to support the contract: // 1. If it is the
persistent stored data of dynamic=false, the // registration data can not be
found, then the IllegalStateException // is [...]
-// Registry Extension - Registry type Registry interface { common.Node //
Register is used for service provider calling, register services // to
registry. And it is also used for service consumer calling, register //
services cared about, for dubbo's admin monitoring. Register(url *common.URL)
error // UnRegister is required to support the contract: // 1. If it is the
persistent stored data of dynamic=false, the // registration data can not be
found, then the IllegalStateException // is [...]
+<!doctype html><html itemscope itemtype=http://schema.org/WebPage lang=zh-cn
class=no-js><head><meta charset=utf-8><meta name=viewport
content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta
name=generator content="Hugo 0.110.0"><meta name=ROBOTS content="INDEX,
FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link
rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png
sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png
sizes=16 [...]
<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.dc7554c0c41d7f631ecb7b0f13149f547e695b5cc4443b205c73ce7f3d17caaf.css
as=style><link
href=/scss/main.min.dc7554c0c41d7f631ecb7b0f13149f547e695b5cc4443b205c73ce7f3d17caaf.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></head><body
class=td-page><header><nav class="js-navbar-scroll navbar navbar-expand
navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand
href=/zh-cn/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path
class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05
25.45-22.11V7.25H68.46zm21.24-28h8.6V31H89.7z [...]
<a
href=https://github.com/apache/dubbo-website/edit/master/content/zh-cn/docs3-v2/golang-sdk/sourcecode/registry.md
class=td-page-meta--edit target=_blank rel=noopener><i class="fa-solid
fa-pen-to-square fa-fw"></i> 编辑此页</a>
<a
href="https://github.com/apache/dubbo-website/new/master/content/zh-cn/docs3-v2/golang-sdk/sourcecode/registry.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%0A%2A+Edit+the+%22front+mat
[...]
<a
href="https://github.com/apache/dubbo-website/issues/new?title=%e6%b3%a8%e5%86%8c%e4%b8%ad%e5%bf%83"
class=td-page-meta--issue target=_blank rel=noopener><i class="fa-solid
fa-list-check fa-fw"></i> 提交文档问题</a>
-<a href=https://github.com/apache/dubbo/issues/new
class=td-page-meta--project-issue target=_blank rel=noopener><i class="fa-solid
fa-list-check fa-fw"></i> 提交项目问题</a></div><div class=td-toc><nav
id=TableOfContents><ul><li><a
href=#heading></a></li></ul></nav></div></aside><main class="col-12 col-md-9
col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb class=td-breadcrumbs><ol
class=breadcrumb><li class=breadcrumb-item><a
href=https://cn.dubbo.apache.org/zh-cn/docs3-v2/>SDK 手册</a></li [...]
+<a href=https://github.com/apache/dubbo/issues/new
class=td-page-meta--project-issue target=_blank rel=noopener><i class="fa-solid
fa-list-check fa-fw"></i> 提交项目问题</a></div><div class=td-toc><nav
id=TableOfContents><ul><li><a
href=#heading></a></li></ul></nav></div></aside><main class="col-12 col-md-9
col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb class=td-breadcrumbs><ol
class=breadcrumb><li class=breadcrumb-item><a
href=https://cn.dubbo.apache.org/zh-cn/docs3-v2/>SDK 手册</a></li [...]
</span></span></span><span style=display:flex><span><span
style=color:#586e75></span><span style=color:#268bd2>type</span> Registry <span
style=color:#268bd2>interface</span> {
</span></span><span style=display:flex><span> common.Node
</span></span><span style=display:flex><span>
@@ -46,7 +43,7 @@
</span></span></span><span style=display:flex><span><span
style=color:#586e75></span> <span style=color:#268bd2>UnSubscribe</span>(<span
style=color:#719e07>*</span>common.URL, NotifyListener) <span
style=color:#dc322f>error</span>
</span></span><span style=display:flex><span>}
</span></span></code></pre></div><p>该接口主要包含四个方法,分别是注册、反注册、订阅、取消订阅。顾名思义,概括了客户端和服务端与注册中心交互的动作。针对普通接口级服务注册发现场景,在Provider
服务启动时,会将自身服务接口信息抽象为一个 url,该 url 包含了客户端发起调用所需的所有信息(ip、端口、协议等),服务端的注册中心组件会将该 url
写入注册中心(例如zk)。客户端启动后,在服务引用 Refer
步骤会通过注册中心组件订阅(Subscribe)需要的服务信息,获取到的服务信息以异步事件更新的形式写入客户端缓存,从而在服务发现成功后,可以根据拿到的服务
url 参数,向对应服务提供者发起调用。</p><h2
id=heading></h2><style>.feedback--answer{display:inline-block}.feedback--answer-no{margin-left:1em}.feedback--response{display:none;margin-top:1em}.feedback
[...]
-<button class="btn btn-primary mb-4 feedback--answer
feedback--answer-no">No</button><p class="feedback--response
feedback--response-yes">Glad to hear it! Please <a
href=https://github.com/apache/dubbo-website/issues/new>tell us how we can
improve</a>.</p><p class="feedback--response feedback--response-no">Sorry to
hear that. Please <a
href=https://github.com/apache/dubbo-website/issues/new>tell us how we can
improve</a>.</p></div><script>const yesButton=document.querySelector(".feedback
[...]
+<button class="btn btn-primary mb-4 feedback--answer
feedback--answer-no">No</button><p class="feedback--response
feedback--response-yes">Glad to hear it! Please <a
href=https://github.com/apache/dubbo-website/issues/new>tell us how we can
improve</a>.</p><p class="feedback--response feedback--response-no">Sorry to
hear that. Please <a
href=https://github.com/apache/dubbo-website/issues/new>tell us how we can
improve</a>.</p></div><script>const yesButton=document.querySelector(".feedback
[...]
<script src=/js/bootstrap.min.js
integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy
crossorigin=anonymous></script>
<script
src=/js/main.min.5d9bbf645e25d374ae8412eedf48df17eb2fa1f70fe6cb544c730a1d145d7bd1.js
integrity="sha256-XZu/ZF4l03SuhBLu30jfF+svofcP5stUTHMKHRRde9E="
crossorigin=anonymous></script>
<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
diff --git a/zh-cn/sitemap.xml b/zh-cn/sitemap.xml
index 858eb8ae99..2453dfb82a 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://cn.dubbo.apache.org/zh-cn/docs3-v2/java-sdk/faq/0/</loc><lastmod>2023-02-09T17:22:57+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority><xhtml:link
rel="alternate" hreflang="en"
href="https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/faq/0/"/><xhtml:link
rel="alternate" hreflang="zh-cn" href="htt [...]
\ 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/zh-cn/docs3-v2/java-sdk/faq/0/</loc><lastmod>2023-02-09T17:22:57+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority><xhtml:link
rel="alternate" hreflang="en"
href="https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/faq/0/"/><xhtml:link
rel="alternate" hreflang="zh-cn" href="htt [...]
\ No newline at end of file