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 941c677e7bf deploy: a78e1c9bac392c1d23c4636a6e08d60e11d64d61
941c677e7bf is described below
commit 941c677e7bf591393c74b480c21795a38af63df9
Author: AlbumenJ <[email protected]>
AuthorDate: Fri Aug 9 07:14:54 2024 +0000
deploy: a78e1c9bac392c1d23c4636a6e08d60e11d64d61
---
en/blog/2018/08/07/using-zookeeper-in-dubbo/index.html | 4 ++--
en/download/index.html | 2 +-
en/sitemap.xml | 2 +-
sitemap.xml | 2 +-
.../index.html" | 6 +++---
.../index.html" | 6 +++---
zh-cn/blog/integration/index.xml | 4 ++--
zh-cn/download/index.html | 2 +-
zh-cn/sitemap.xml | 2 +-
"zh-cn/tags/\347\224\237\346\200\201/index.xml" | 4 ++--
10 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/en/blog/2018/08/07/using-zookeeper-in-dubbo/index.html
b/en/blog/2018/08/07/using-zookeeper-in-dubbo/index.html
index bdb9bfa1d01..1863541327f 100644
--- a/en/blog/2018/08/07/using-zookeeper-in-dubbo/index.html
+++ b/en/blog/2018/08/07/using-zookeeper-in-dubbo/index.html
@@ -1,7 +1,7 @@
<!doctype html><html lang=en class=no-js><head><meta name=ROBOTS
content="INDEX, FOLLOW"><link rel=canonical
href=https://dubbo.apache.org/en/blog/2018/08/07/using-zookeeper-in-dubbo/><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-180x180.png sizes=180x180><link rel=man [...]
<meta property="og:description" content="This article introduces basic
concepts of Zookeeper, and how to use Zookeeper as a registry center.
-"><meta property="og:type" content="article"><meta property="og:url"
content="https://dubbo.apache.org/en/blog/2018/08/07/using-zookeeper-in-dubbo/"><meta
property="article:section" content="blog"><meta
property="article:published_time" content="2018-08-07T00:00:00+00:00"><meta
property="article:modified_time" content="2022-12-16T10:30:39+08:00"><meta
itemprop=name content="Using Zookeeper in Dubbo"><meta itemprop=description
content="This article introduces basic concepts of Zookeeper, [...]
-"><meta itemprop=datePublished content="2018-08-07T00:00:00+00:00"><meta
itemprop=dateModified content="2022-12-16T10:30:39+08:00"><meta
itemprop=wordCount content="1581"><meta itemprop=keywords content><meta
name=twitter:card content="summary"><meta name=twitter:title content="Using
Zookeeper in Dubbo"><meta name=twitter:description content="This article
introduces basic concepts of Zookeeper, and how to use Zookeeper as a registry
center.
+"><meta property="og:type" content="article"><meta property="og:url"
content="https://dubbo.apache.org/en/blog/2018/08/07/using-zookeeper-in-dubbo/"><meta
property="article:section" content="blog"><meta
property="article:published_time" content="2018-08-07T00:00:00+00:00"><meta
property="article:modified_time" content="2024-08-09T15:10:01+08:00"><meta
itemprop=name content="Using Zookeeper in Dubbo"><meta itemprop=description
content="This article introduces basic concepts of Zookeeper, [...]
+"><meta itemprop=datePublished content="2018-08-07T00:00:00+00:00"><meta
itemprop=dateModified content="2024-08-09T15:10:01+08:00"><meta
itemprop=wordCount content="1581"><meta itemprop=keywords content><meta
name=twitter:card content="summary"><meta name=twitter:title content="Using
Zookeeper in Dubbo"><meta name=twitter:description content="This article
introduces basic concepts of Zookeeper, and how to use Zookeeper as a registry
center.
"><script async
src="https://www.googletagmanager.com/gtag/js?id=G-1TFHM5YBH0"></script><script>var
doNotTrack=!1;if(!doNotTrack){window.dataLayer=window.dataLayer||[];function
gtag(){dataLayer.push(arguments)}gtag("js",new
Date),gtag("config","G-1TFHM5YBH0",{anonymize_ip:!1})}</script><link
rel=preload
href=/scss/main.min.9e6561cc0361d4774cd6dea1f797b4d79df2a97001c1d51e86b490fa04cfc749.css
as=style><link
href=/scss/main.min.9e6561cc0361d4774cd6dea1f797b4d79df2a97001c1d51e86b490fa04cfc74
[...]
"><meta property="og:description" content="This article introduces basic
concepts of Zookeeper, and how to use Zookeeper as a registry center.
"><meta name=twitter:description content="This article introduces basic
concepts of Zookeeper, and how to use Zookeeper as a registry center.
diff --git a/en/download/index.html b/en/download/index.html
index 431d5ceec7d..cd128bb25a2 100644
--- a/en/download/index.html
+++ b/en/download/index.html
@@ -6,7 +6,7 @@
<label for=m-endownloadnodejs-check><a href=/en/download/#nodejs
class="align-left pl-0 td-sidebar-link td-sidebar-link__page"
id=m-endownloadnodejs><span>Node.js</span></a></label></li><li
class="td-sidebar-nav__section-title td-sidebar-nav__section without-child"
id=m-endownloadadmin-li><input type=checkbox id=m-endownloadadmin-check>
<label for=m-endownloadadmin-check><a href=/en/download/#admin
class="align-left pl-0 td-sidebar-link td-sidebar-link__page"
id=m-endownloadadmin><span>Admin</span></a></label></li><li
class="td-sidebar-nav__section-title td-sidebar-nav__section without-child"
id=m-endownloadspi-extensions-li><input type=checkbox
id=m-endownloadspi-extensions-check>
<label for=m-endownloadspi-extensions-check><a
href=/en/download/spi-extensions/ class="align-left pl-0 td-sidebar-link
td-sidebar-link__page" id=m-endownloadspi-extensions><span>SPI
Extensions</span></a></label></li><li class="td-sidebar-nav__section-title
td-sidebar-nav__section without-child" id=m-endownloadpixiu-li><input
type=checkbox id=m-endownloadpixiu-check>
-<label for=m-endownloadpixiu-check><a href=/en/download/#pixiu
class="align-left pl-0 td-sidebar-link td-sidebar-link__page"
id=m-endownloadpixiu><span>Pixiu</span></a></label></li></ul></li></ul></nav></div></div><main
class="col-12 col-md-9 col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb
class="td-breadcrumbs td-breadcrumbs__single"><ol class=breadcrumb><li
class="breadcrumb-item active" aria-current=page><a
href=https://dubbo.apache.org/en/download/ aria-disabled=true class="bt [...]
+<label for=m-endownloadpixiu-check><a href=/en/download/#pixiu
class="align-left pl-0 td-sidebar-link td-sidebar-link__page"
id=m-endownloadpixiu><span>Pixiu</span></a></label></li></ul></li></ul></nav></div></div><main
class="col-12 col-md-9 col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb
class="td-breadcrumbs td-breadcrumbs__single"><ol class=breadcrumb><li
class="breadcrumb-item active" aria-current=page><a
href=https://dubbo.apache.org/en/download/ aria-disabled=true class="bt [...]
<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/download/_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+matter%22+section+at+the+t
[...]
<a href="https://github.com/apache/dubbo-website/issues/new?title=Download"
target=_blank><i class="fab fa-github fa-fw"></i> Create an issue</a>
diff --git a/en/sitemap.xml b/en/sitemap.xml
index 30133fe2c88..d0e30fcb82d 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://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://dubbo.apache.org/en/docs3-v2/java-sdk/faq/0/1/</loc><lastmod>2023-01-03T15:09:00+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5<
[...]
\ 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/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://dubbo.apache.org/en/docs3-v2/java-sdk/faq/0/1/</loc><lastmod>2023-01-03T15:09:00+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5<
[...]
\ No newline at end of file
diff --git a/sitemap.xml b/sitemap.xml
index a7f59e34a3b..eb92e905f94 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-07-05T16:10:32+08:00</lastmod></sitemap><sitemap><loc>https://dubbo.apache.org/en/sitemap.xml</loc><lastmod>2024-08-09T11:16:22+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-09T15:10:01+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/blog/2018/06/17/\345\234\250-dubbo-\344\270\255\344\275\277\347\224\250-zipkin/index.html"
"b/zh-cn/blog/2018/06/17/\345\234\250-dubbo-\344\270\255\344\275\277\347\224\250-zipkin/index.html"
index 7ce6a5cc286..cd69e1586ec 100644
---
"a/zh-cn/blog/2018/06/17/\345\234\250-dubbo-\344\270\255\344\275\277\347\224\250-zipkin/index.html"
+++
"b/zh-cn/blog/2018/06/17/\345\234\250-dubbo-\344\270\255\344\275\277\347\224\250-zipkin/index.html"
@@ -1,7 +1,7 @@
<!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/blog/2018/06/17/%E5%9C%A8-dubbo-%E4%B8%AD%E4%BD%BF%E7%94%A8-zipkin/><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-180x180 [...]
<meta property="og:description" content="本文介绍如何在 Dubbo 中使用 Zipkin 进行全链路追踪
-"><meta property="og:type" content="article"><meta property="og:url"
content="https://dubbo.apache.org/zh-cn/blog/2018/06/17/%E5%9C%A8-dubbo-%E4%B8%AD%E4%BD%BF%E7%94%A8-zipkin/"><meta
property="article:section" content="blog"><meta
property="article:published_time" content="2018-06-17T00:00:00+00:00"><meta
property="article:modified_time" content="2024-01-17T17:48:25+08:00"><meta
itemprop=name content="在 Dubbo 中使用 Zipkin"><meta itemprop=description
content="本文介绍如何在 Dubbo 中使用 Zipkin 进行全链路追踪
-"><meta itemprop=datePublished content="2018-06-17T00:00:00+00:00"><meta
itemprop=dateModified content="2024-01-17T17:48:25+08:00"><meta
itemprop=wordCount content="1449"><meta itemprop=keywords
content="生态,Java,"><meta name=twitter:card content="summary"><meta
name=twitter:title content="在 Dubbo 中使用 Zipkin"><meta name=twitter:description
content="本文介绍如何在 Dubbo 中使用 Zipkin 进行全链路追踪
+"><meta property="og:type" content="article"><meta property="og:url"
content="https://dubbo.apache.org/zh-cn/blog/2018/06/17/%E5%9C%A8-dubbo-%E4%B8%AD%E4%BD%BF%E7%94%A8-zipkin/"><meta
property="article:section" content="blog"><meta
property="article:published_time" content="2018-06-17T00:00:00+00:00"><meta
property="article:modified_time" content="2024-08-09T15:10:01+08:00"><meta
itemprop=name content="在 Dubbo 中使用 Zipkin"><meta itemprop=description
content="本文介绍如何在 Dubbo 中使用 Zipkin 进行全链路追踪
+"><meta itemprop=datePublished content="2018-06-17T00:00:00+00:00"><meta
itemprop=dateModified content="2024-08-09T15:10:01+08:00"><meta
itemprop=wordCount content="1448"><meta itemprop=keywords
content="生态,Java,"><meta name=twitter:card content="summary"><meta
name=twitter:title content="在 Dubbo 中使用 Zipkin"><meta name=twitter:description
content="本文介绍如何在 Dubbo 中使用 Zipkin 进行全链路追踪
"><script async
src="https://www.googletagmanager.com/gtag/js?id=G-1TFHM5YBH0"></script><script>var
doNotTrack=!1;if(!doNotTrack){window.dataLayer=window.dataLayer||[];function
gtag(){dataLayer.push(arguments)}gtag("js",new
Date),gtag("config","G-1TFHM5YBH0",{anonymize_ip:!1})}</script><link
rel=preload
href=/scss/main.min.9e6561cc0361d4774cd6dea1f797b4d79df2a97001c1d51e86b490fa04cfc749.css
as=style><link
href=/scss/main.min.9e6561cc0361d4774cd6dea1f797b4d79df2a97001c1d51e86b490fa04cfc74
[...]
"><meta property="og:description" content="本文介绍如何在 Dubbo 中使用 Zipkin 进行全链路追踪
"><meta name=twitter:description content="本文介绍如何在 Dubbo 中使用 Zipkin 进行全链路追踪
@@ -546,7 +546,7 @@
</span></span></code></pre></div><h4 id=启动-helloservice>启动
HelloService</h4><p>使用下面的命令启动 HelloService,当然也可以直接在 IDE 中启动:</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-bash data-lang=bash><span style=display:flex><span>$ mvn
exec:java -Dexec.mainClass<span
style=color:#719e07>=</span>com.alibaba.dubbo.samples.service.hello.Application
</span></span></code></pre></div><p>启动成功后应该可以在终端上看到 “Hello service started”
的字样。</p><h4 id=启动-greetingservice>启动 GreetingService</h4><p>使用下面的命令启动
GreetingService,当然也可以直接在 IDE 中启动:</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-bash data-lang=bash><span style=display:flex><span>$ mvn
exec:java -Dexec.mainClass<span
style=color:#719e07>=</span>com.alibaba.dubbo.samples.service.greeting.Application
</span></span></code></pre></div><p>启动成功后应该可以在终端上看到 “Greeting service started”
的字样。</p><h4 id=运行-dubbo-客户端>运行 Dubbo 客户端</h4><p>使用下面的命令运行 Dubbo 客户端向
GreetingService 发起远程调用,当然也可以直接在 IDE 中运行:</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-bash data-lang=bash><span style=display:flex><span>$ mvn
exec:java -Dexec.mainClass<span
style=color:#719e07>=</span>com.alibaba.dubbo.samples.client.Application
-</span></span></code></pre></div><p>执行成功后,客户端会在终端上输出 “greeting, hello,
world”。</p><h4 id=链路追踪>链路追踪</h4><p>打开浏览器访问 “http://localhost:9411”
并通过 “Find Traces” 按钮来搜索,可以找到刚刚调用的链路追踪,效果如下图所示:</p><p><img
src=/imgs/blog/zipkin-trace.png alt="zipkin trace"></p><p>还可以进一步的选择每一个 span
来查看本次调用边界内的详情,比如,hello-service 这个 span 的详情如下:</p><p><img
src=/imgs/blog/zipkin-span.png alt="zipkin span"></p><h2
id=总结>总结</h2><p>本文介绍了链路追踪的基本概念以及 Zipkin 的基本用法,然后用 Dubbo 构建了一条最简单的调用链路,并引入了
Zipkin [...]
+</span></span></code></pre></div><p>执行成功后,客户端会在终端上输出 “greeting, hello,
world”。</p><h4 id=链路追踪>链路追踪</h4><p>打开浏览器访问 “http://localhost:9411”
并通过 “Find Traces” 按钮来搜索,可以找到刚刚调用的链路追踪,效果如下图所示:</p><p><img
src=/imgs/blog/zipkin-trace.png alt="zipkin trace"></p><p>还可以进一步的选择每一个 span
来查看本次调用边界内的详情,比如,hello-service 这个 span 的详情如下:</p><p><img
src=/imgs/blog/zipkin-span.png alt="zipkin span"></p><h2
id=总结>总结</h2><p>本文介绍了链路追踪的基本概念以及 Zipkin 的基本用法,然后用 Dubbo 构建了一条最简单的调用链路,并引入了
Zipkin [...]
<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/blog/integration/use-zipkin-in-dubbo.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+ma
[...]
<a
href="https://github.com/apache/dubbo-website/issues/new?title=%e5%9c%a8%20Dubbo%20%e4%b8%ad%e4%bd%bf%e7%94%a8%20Zipkin"
target=_blank><i class="fab fa-github fa-fw"></i> 登记问题</a>
diff --git
"a/zh-cn/blog/2018/08/07/\345\234\250-dubbo-\345\272\224\347\224\250\344\270\255\344\275\277\347\224\250-zookeeper/index.html"
"b/zh-cn/blog/2018/08/07/\345\234\250-dubbo-\345\272\224\347\224\250\344\270\255\344\275\277\347\224\250-zookeeper/index.html"
index 50b504cc848..445b8f3fbe5 100644
---
"a/zh-cn/blog/2018/08/07/\345\234\250-dubbo-\345\272\224\347\224\250\344\270\255\344\275\277\347\224\250-zookeeper/index.html"
+++
"b/zh-cn/blog/2018/08/07/\345\234\250-dubbo-\345\272\224\347\224\250\344\270\255\344\275\277\347\224\250-zookeeper/index.html"
@@ -1,7 +1,7 @@
<!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/blog/2018/08/07/%E5%9C%A8-dubbo-%E5%BA%94%E7%94%A8%E4%B8%AD%E4%BD%BF%E7%94%A8-zookeeper/><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/app [...]
<meta property="og:description" content="本文介绍了 Zookeeper 的基本概念、用法,以及如何在 Dubbo
应用中使用 Zookeeper 作为注册中心。
-"><meta property="og:type" content="article"><meta property="og:url"
content="https://dubbo.apache.org/zh-cn/blog/2018/08/07/%E5%9C%A8-dubbo-%E5%BA%94%E7%94%A8%E4%B8%AD%E4%BD%BF%E7%94%A8-zookeeper/"><meta
property="article:section" content="blog"><meta
property="article:published_time" content="2018-08-07T00:00:00+00:00"><meta
property="article:modified_time" content="2023-02-22T15:03:22+08:00"><meta
itemprop=name content="在 Dubbo 应用中使用 Zookeeper"><meta itemprop=description
content="本文介绍 [...]
-"><meta itemprop=datePublished content="2018-08-07T00:00:00+00:00"><meta
itemprop=dateModified content="2023-02-22T15:03:22+08:00"><meta
itemprop=wordCount content="809"><meta itemprop=keywords
content="生态,Java,"><meta name=twitter:card content="summary"><meta
name=twitter:title content="在 Dubbo 应用中使用 Zookeeper"><meta
name=twitter:description content="本文介绍了 Zookeeper 的基本概念、用法,以及如何在 Dubbo 应用中使用
Zookeeper 作为注册中心。
+"><meta property="og:type" content="article"><meta property="og:url"
content="https://dubbo.apache.org/zh-cn/blog/2018/08/07/%E5%9C%A8-dubbo-%E5%BA%94%E7%94%A8%E4%B8%AD%E4%BD%BF%E7%94%A8-zookeeper/"><meta
property="article:section" content="blog"><meta
property="article:published_time" content="2018-08-07T00:00:00+00:00"><meta
property="article:modified_time" content="2024-08-09T15:10:01+08:00"><meta
itemprop=name content="在 Dubbo 应用中使用 Zookeeper"><meta itemprop=description
content="本文介绍 [...]
+"><meta itemprop=datePublished content="2018-08-07T00:00:00+00:00"><meta
itemprop=dateModified content="2024-08-09T15:10:01+08:00"><meta
itemprop=wordCount content="809"><meta itemprop=keywords
content="生态,Java,"><meta name=twitter:card content="summary"><meta
name=twitter:title content="在 Dubbo 应用中使用 Zookeeper"><meta
name=twitter:description content="本文介绍了 Zookeeper 的基本概念、用法,以及如何在 Dubbo 应用中使用
Zookeeper 作为注册中心。
"><script async
src="https://www.googletagmanager.com/gtag/js?id=G-1TFHM5YBH0"></script><script>var
doNotTrack=!1;if(!doNotTrack){window.dataLayer=window.dataLayer||[];function
gtag(){dataLayer.push(arguments)}gtag("js",new
Date),gtag("config","G-1TFHM5YBH0",{anonymize_ip:!1})}</script><link
rel=preload
href=/scss/main.min.9e6561cc0361d4774cd6dea1f797b4d79df2a97001c1d51e86b490fa04cfc749.css
as=style><link
href=/scss/main.min.9e6561cc0361d4774cd6dea1f797b4d79df2a97001c1d51e86b490fa04cfc74
[...]
"><meta property="og:description" content="本文介绍了 Zookeeper 的基本概念、用法,以及如何在
Dubbo 应用中使用 Zookeeper 作为注册中心。
"><meta name=twitter:description content="本文介绍了 Zookeeper 的基本概念、用法,以及如何在 Dubbo
应用中使用 Zookeeper 作为注册中心。
@@ -340,7 +340,7 @@
</span></span><span style=display:flex><span>...
</span></span><span style=display:flex><span><span
style=color:#719e07>[</span>zk: localhost:2181<span
style=color:#719e07>(</span>CONNECTED<span style=color:#719e07>)</span> 4<span
style=color:#719e07>]</span> ls
/dubbo/com.alibaba.dubbo.samples.api.GreetingService/consumers
</span></span><span style=display:flex><span><span
style=color:#719e07>[</span>consumer%3A%2F%2F192.168.99.1%2Fcom.alibaba.dubbo.samples.api.GreetingService%3Fapplication%3Ddemo-consumer%26category%3Dconsumers%26check%3Dfalse%26default.timeout%3D3000%26dubbo%3D2.6.2%26interface%3Dcom.alibaba.dubbo.samples.api.GreetingService%26methods%3DsayHello%26pid%3D82406%26side%3Dconsumer%26timestamp%3D1533274951195<span
style=color:#719e07>]</span>
-</span></span></code></pre></div><p>可以看到 Dubbo 的服务消费者在 <code>consumers</code>
节点下注册了自己的 URL
地址:<em>consumer://192.168.99.1/com.alibaba.dubbo.samples.api.GreetingService?application=demo-consumer&category=providers,configurators,routers&default.timeout=3000&dubbo=2.6.2&interface=com.alibaba.dubbo.samples.api.GreetingService&methods=sayHello&pid=82406&side=consumer&timestamp=1533274951195</em></p><h2
id=总结>总结</h2><p>本文侧重介绍了如何在 Dubbo 应用中使用 Zookeeper 做为注册中心,当然 [...]
+</span></span></code></pre></div><p>可以看到 Dubbo 的服务消费者在 <code>consumers</code>
节点下注册了自己的 URL
地址:<em>consumer://192.168.99.1/com.alibaba.dubbo.samples.api.GreetingService?application=demo-consumer&category=providers,configurators,routers&default.timeout=3000&dubbo=2.6.2&interface=com.alibaba.dubbo.samples.api.GreetingService&methods=sayHello&pid=82406&side=consumer&timestamp=1533274951195</em></p><h2
id=总结>总结</h2><p>本文侧重介绍了如何在 Dubbo 应用中使用 Zookeeper 做为注册中心,当然 [...]
<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/blog/integration/dubbo-zk.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+matter%22+sec
[...]
<a
href="https://github.com/apache/dubbo-website/issues/new?title=%e5%9c%a8%20Dubbo%20%e5%ba%94%e7%94%a8%e4%b8%ad%e4%bd%bf%e7%94%a8%20Zookeeper"
target=_blank><i class="fab fa-github fa-fw"></i> 登记问题</a>
diff --git a/zh-cn/blog/integration/index.xml b/zh-cn/blog/integration/index.xml
index ed0983f0a65..e75303796d9 100644
--- a/zh-cn/blog/integration/index.xml
+++ b/zh-cn/blog/integration/index.xml
@@ -2807,7 +2807,7 @@ dubbo2.7.3默认开启qos功能,导致一些混部在物理机的dubbo服务
<hr>
<ol>
<li id="fn:1">
-<p><a
href="https://www.ixiacom.com/company/blog/apache-zab">https://www.ixiacom.com/company/blog/apache-zab</a>—zookeeper-atomic-broadcast-protocol&#160;<a
href="#fnref:1" class="footnote-backref"
role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
+<p><a
href="https://en.wikipedia.org/wiki/Atomic_broadcast">https://en.wikipedia.org/wiki/Atomic_broadcast</a>&#160;<a
href="#fnref:1" class="footnote-backref"
role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:2">
<p><a
href="https://www.apache.org/dyn/closer.cgi/zookeeper/">https://www.apache.org/dyn/closer.cgi/zookeeper/</a>&#160;<a
href="#fnref:2" class="footnote-backref"
role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
@@ -3771,4 +3771,4 @@ dubbo2.7.3默认开启qos功能,导致一些混部在物理机的dubbo服务
<h2 id="总结">总结</h2>
<p>本文介绍了链路追踪的基本概念以及 Zipkin 的基本用法,然后用 Dubbo 构建了一条最简单的调用链路,并引入了 Zipkin
做全链路追踪。由于 Zipkin 对 Dubbo 做了很好的支持,整个集成的过程还是十分简单明了的。</p>
<p>Zipkin 对 Dubbo 的支持是构建在 Dubbo 的 filter 扩展机制上的,有兴趣的读者可以通过 <a
href="https://github.com/openzipkin/brave/blob/master/instrumentation/dubbo/src/main/java/brave/dubbo/TracingFilter.java">https://github.com/openzipkin/brave/blob/master/instrumentation/dubbo/src/main/java/brave/dubbo/TracingFilter.java</a>
了解其实现细节。</p>
-<p>本文中涉及的例子可以从 <a
href="https://github.com/dubbo/dubbo-samples">https://github.com/dubbo/dubbo-samples</a>
中的 &ldquo;dubbo-samples-zipkin&rdquo; 子模块中获取。另外,spring-cloud-sleth 2.0
中开始 <a
href="https://cloud.spring.io/spring-cloud-static/spring-cloud-sleuth/2.0.2.RELEASE/single/spring-cloud-sleuth.html#_dubbo_rpc_support">正式支持
Dubbo</a>,相关的文章和例子后续计划提供。</p></description></item></channel></rss>
\ No newline at end of file
+<p>本文中涉及的例子可以从 <a
href="https://github.com/dubbo/dubbo-samples">https://github.com/dubbo/dubbo-samples</a>
中的 &ldquo;dubbo-samples-zipkin&rdquo; 子模块中获取。另外,spring-cloud-sleth 2.0
中开始正式支持 Dubbo,相关的文章和例子后续计划提供。</p></description></item></channel></rss>
\ No newline at end of file
diff --git a/zh-cn/download/index.html b/zh-cn/download/index.html
index ae491e8b098..87f7f89cb46 100644
--- a/zh-cn/download/index.html
+++ b/zh-cn/download/index.html
@@ -6,7 +6,7 @@
<label for=m-zh-cndownloadnodejs-check><a href=/zh-cn/download/#nodejs
class="align-left pl-0 td-sidebar-link td-sidebar-link__page"
id=m-zh-cndownloadnodejs><span>Node.js</span></a></label></li><li
class="td-sidebar-nav__section-title td-sidebar-nav__section without-child"
id=m-zh-cndownloadadmin-li><input type=checkbox id=m-zh-cndownloadadmin-check>
<label for=m-zh-cndownloadadmin-check><a href=/zh-cn/download/#admin
class="align-left pl-0 td-sidebar-link td-sidebar-link__page"
id=m-zh-cndownloadadmin><span>Admin</span></a></label></li><li
class="td-sidebar-nav__section-title td-sidebar-nav__section without-child"
id=m-zh-cndownloadspi-extensions-li><input type=checkbox
id=m-zh-cndownloadspi-extensions-check>
<label for=m-zh-cndownloadspi-extensions-check><a
href=/zh-cn/download/spi-extensions/ class="align-left pl-0 td-sidebar-link
td-sidebar-link__page" id=m-zh-cndownloadspi-extensions><span>SPI
Extensions</span></a></label></li><li class="td-sidebar-nav__section-title
td-sidebar-nav__section without-child" id=m-zh-cndownloadpixiu-li><input
type=checkbox id=m-zh-cndownloadpixiu-check>
-<label for=m-zh-cndownloadpixiu-check><a href=/zh-cn/download/#pixiu
class="align-left pl-0 td-sidebar-link td-sidebar-link__page"
id=m-zh-cndownloadpixiu><span>Pixiu</span></a></label></li></ul></li></ul></nav></div></div><main
class="col-12 col-md-9 col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb
class="td-breadcrumbs td-breadcrumbs__single"><ol class=breadcrumb><li
class="breadcrumb-item active" aria-current=page><a
href=https://dubbo.apache.org/zh-cn/download/ aria-disabled=tr [...]
+<label for=m-zh-cndownloadpixiu-check><a href=/zh-cn/download/#pixiu
class="align-left pl-0 td-sidebar-link td-sidebar-link__page"
id=m-zh-cndownloadpixiu><span>Pixiu</span></a></label></li></ul></li></ul></nav></div></div><main
class="col-12 col-md-9 col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb
class="td-breadcrumbs td-breadcrumbs__single"><ol class=breadcrumb><li
class="breadcrumb-item active" aria-current=page><a
href=https://dubbo.apache.org/zh-cn/download/ aria-disabled=tr [...]
<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/download/_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+matter%22+section+at+th
[...]
<a
href="https://github.com/apache/dubbo-website/issues/new?title=%e7%89%88%e6%9c%ac%e5%8f%91%e5%b8%83"
target=_blank><i class="fab fa-github fa-fw"></i> 登记问题</a>
diff --git a/zh-cn/sitemap.xml b/zh-cn/sitemap.xml
index 27a92a5cc50..fdbbabb73e9 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
diff --git "a/zh-cn/tags/\347\224\237\346\200\201/index.xml"
"b/zh-cn/tags/\347\224\237\346\200\201/index.xml"
index f261b58255a..78d71b412fa 100644
--- "a/zh-cn/tags/\347\224\237\346\200\201/index.xml"
+++ "b/zh-cn/tags/\347\224\237\346\200\201/index.xml"
@@ -2612,7 +2612,7 @@ dubbo-storage-service.xml</p>
<hr>
<ol>
<li id="fn:1">
-<p><a
href="https://www.ixiacom.com/company/blog/apache-zab">https://www.ixiacom.com/company/blog/apache-zab</a>—zookeeper-atomic-broadcast-protocol&#160;<a
href="#fnref:1" class="footnote-backref"
role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
+<p><a
href="https://en.wikipedia.org/wiki/Atomic_broadcast">https://en.wikipedia.org/wiki/Atomic_broadcast</a>&#160;<a
href="#fnref:1" class="footnote-backref"
role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:2">
<p><a
href="https://www.apache.org/dyn/closer.cgi/zookeeper/">https://www.apache.org/dyn/closer.cgi/zookeeper/</a>&#160;<a
href="#fnref:2" class="footnote-backref"
role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
@@ -3576,4 +3576,4 @@ dubbo-storage-service.xml</p>
<h2 id="总结">总结</h2>
<p>本文介绍了链路追踪的基本概念以及 Zipkin 的基本用法,然后用 Dubbo 构建了一条最简单的调用链路,并引入了 Zipkin
做全链路追踪。由于 Zipkin 对 Dubbo 做了很好的支持,整个集成的过程还是十分简单明了的。</p>
<p>Zipkin 对 Dubbo 的支持是构建在 Dubbo 的 filter 扩展机制上的,有兴趣的读者可以通过 <a
href="https://github.com/openzipkin/brave/blob/master/instrumentation/dubbo/src/main/java/brave/dubbo/TracingFilter.java">https://github.com/openzipkin/brave/blob/master/instrumentation/dubbo/src/main/java/brave/dubbo/TracingFilter.java</a>
了解其实现细节。</p>
-<p>本文中涉及的例子可以从 <a
href="https://github.com/dubbo/dubbo-samples">https://github.com/dubbo/dubbo-samples</a>
中的 &ldquo;dubbo-samples-zipkin&rdquo; 子模块中获取。另外,spring-cloud-sleth 2.0
中开始 <a
href="https://cloud.spring.io/spring-cloud-static/spring-cloud-sleuth/2.0.2.RELEASE/single/spring-cloud-sleuth.html#_dubbo_rpc_support">正式支持
Dubbo</a>,相关的文章和例子后续计划提供。</p></description></item></channel></rss>
\ No newline at end of file
+<p>本文中涉及的例子可以从 <a
href="https://github.com/dubbo/dubbo-samples">https://github.com/dubbo/dubbo-samples</a>
中的 &ldquo;dubbo-samples-zipkin&rdquo; 子模块中获取。另外,spring-cloud-sleth 2.0
中开始正式支持 Dubbo,相关的文章和例子后续计划提供。</p></description></item></channel></rss>
\ No newline at end of file