You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2018/12/17 09:23:00 UTC
[pulsar] branch asf-site updated: Updated site at revision da07af9
This is an automated email from the ASF dual-hosted git repository.
mmerli pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 7e88fc7 Updated site at revision da07af9
7e88fc7 is described below
commit 7e88fc70b0ba6b382df19e0e49a5462d1abcf194
Author: jenkins <bu...@apache.org>
AuthorDate: Mon Dec 17 09:22:52 2018 +0000
Updated site at revision da07af9
---
.../2.1.0-incubating/admin-api-namespaces.html | 2 +-
.../admin-api-namespaces/index.html | 2 +-
.../2.1.1-incubating/admin-api-namespaces.html | 2 +-
.../admin-api-namespaces/index.html | 2 +-
content/docs/zh-CN/admin-api-namespaces.html | 2 +-
content/docs/zh-CN/admin-api-namespaces/index.html | 2 +-
content/docs/zh-CN/functions-quickstart.html | 2 +-
content/docs/zh-CN/functions-quickstart/index.html | 2 +-
content/docs/zh-CN/next/admin-api-namespaces.html | 2 +-
.../zh-CN/next/admin-api-namespaces/index.html | 2 +-
content/swagger/swagger.json | 30 +++++++++++-----------
11 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/content/docs/zh-CN/2.1.0-incubating/admin-api-namespaces.html b/content/docs/zh-CN/2.1.0-incubating/admin-api-namespaces.html
index 6535d90..3b49681 100644
--- a/content/docs/zh-CN/2.1.0-incubating/admin-api-namespaces.html
+++ b/content/docs/zh-CN/2.1.0-incubating/admin-api-namespaces.html
@@ -362,7 +362,7 @@ N/A
<pre><code class="hljs css language-java">admin.namespaces().getRetention(namespace)
</code></pre>
<h4><a class="anchor" aria-hidden="true" id="设置消息分发速率"></a><a href="#设置消息分发速率" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 [...]
-<p>It sets message dispatch rate for all the topics under a given namespace. Dispatch rate can be restricted by number of message per X seconds (<code>msg-dispatch-rate</code>) or by number of message-bytes per X second (<code>byte-dispatch-rate</code>). dispatch rate is in second and it can be configured with <code>dispatch-rate-period</code>. Default value of <code>msg-dispatch-rate</code> and <code>byte-dispatch-rate</code> is -1 which disables the throttling.</p>
+<p>为给定命名空间下所有的主题(topic)设置消息分发速率。 Dispatch rate can be restricted by number of message per X seconds (<code>msg-dispatch-rate</code>) or by number of message-bytes per X second (<code>byte-dispatch-rate</code>). dispatch rate is in second and it can be configured with <code>dispatch-rate-period</code>. Default value of <code>msg-dispatch-rate</code> and <code>byte-dispatch-rate</code> is -1 which disables the throttling.</p>
<h6><a class="anchor" aria-hidden="true" id="cli-15"></a><a href="#cli-15" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2. [...]
<pre><code class="hljs">$ pulsar-admin namespaces set-dispatch-rate test-tenant/ns1 \
--msg-dispatch-rate 1000 \
diff --git a/content/docs/zh-CN/2.1.0-incubating/admin-api-namespaces/index.html b/content/docs/zh-CN/2.1.0-incubating/admin-api-namespaces/index.html
index 6535d90..3b49681 100644
--- a/content/docs/zh-CN/2.1.0-incubating/admin-api-namespaces/index.html
+++ b/content/docs/zh-CN/2.1.0-incubating/admin-api-namespaces/index.html
@@ -362,7 +362,7 @@ N/A
<pre><code class="hljs css language-java">admin.namespaces().getRetention(namespace)
</code></pre>
<h4><a class="anchor" aria-hidden="true" id="设置消息分发速率"></a><a href="#设置消息分发速率" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 [...]
-<p>It sets message dispatch rate for all the topics under a given namespace. Dispatch rate can be restricted by number of message per X seconds (<code>msg-dispatch-rate</code>) or by number of message-bytes per X second (<code>byte-dispatch-rate</code>). dispatch rate is in second and it can be configured with <code>dispatch-rate-period</code>. Default value of <code>msg-dispatch-rate</code> and <code>byte-dispatch-rate</code> is -1 which disables the throttling.</p>
+<p>为给定命名空间下所有的主题(topic)设置消息分发速率。 Dispatch rate can be restricted by number of message per X seconds (<code>msg-dispatch-rate</code>) or by number of message-bytes per X second (<code>byte-dispatch-rate</code>). dispatch rate is in second and it can be configured with <code>dispatch-rate-period</code>. Default value of <code>msg-dispatch-rate</code> and <code>byte-dispatch-rate</code> is -1 which disables the throttling.</p>
<h6><a class="anchor" aria-hidden="true" id="cli-15"></a><a href="#cli-15" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2. [...]
<pre><code class="hljs">$ pulsar-admin namespaces set-dispatch-rate test-tenant/ns1 \
--msg-dispatch-rate 1000 \
diff --git a/content/docs/zh-CN/2.1.1-incubating/admin-api-namespaces.html b/content/docs/zh-CN/2.1.1-incubating/admin-api-namespaces.html
index 6d0f0fd..8eb1e1e 100644
--- a/content/docs/zh-CN/2.1.1-incubating/admin-api-namespaces.html
+++ b/content/docs/zh-CN/2.1.1-incubating/admin-api-namespaces.html
@@ -362,7 +362,7 @@ N/A
<pre><code class="hljs css language-java">admin.namespaces().getRetention(namespace)
</code></pre>
<h4><a class="anchor" aria-hidden="true" id="设置消息分发速率"></a><a href="#设置消息分发速率" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 [...]
-<p>It sets message dispatch rate for all the topics under a given namespace. Dispatch rate can be restricted by number of message per X seconds (<code>msg-dispatch-rate</code>) or by number of message-bytes per X second (<code>byte-dispatch-rate</code>). dispatch rate is in second and it can be configured with <code>dispatch-rate-period</code>. Default value of <code>msg-dispatch-rate</code> and <code>byte-dispatch-rate</code> is -1 which disables the throttling.</p>
+<p>为给定命名空间下所有的主题(topic)设置消息分发速率。 Dispatch rate can be restricted by number of message per X seconds (<code>msg-dispatch-rate</code>) or by number of message-bytes per X second (<code>byte-dispatch-rate</code>). dispatch rate is in second and it can be configured with <code>dispatch-rate-period</code>. Default value of <code>msg-dispatch-rate</code> and <code>byte-dispatch-rate</code> is -1 which disables the throttling.</p>
<h6><a class="anchor" aria-hidden="true" id="cli-15"></a><a href="#cli-15" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2. [...]
<pre><code class="hljs">$ pulsar-admin namespaces set-dispatch-rate test-tenant/ns1 \
--msg-dispatch-rate 1000 \
diff --git a/content/docs/zh-CN/2.1.1-incubating/admin-api-namespaces/index.html b/content/docs/zh-CN/2.1.1-incubating/admin-api-namespaces/index.html
index 6d0f0fd..8eb1e1e 100644
--- a/content/docs/zh-CN/2.1.1-incubating/admin-api-namespaces/index.html
+++ b/content/docs/zh-CN/2.1.1-incubating/admin-api-namespaces/index.html
@@ -362,7 +362,7 @@ N/A
<pre><code class="hljs css language-java">admin.namespaces().getRetention(namespace)
</code></pre>
<h4><a class="anchor" aria-hidden="true" id="设置消息分发速率"></a><a href="#设置消息分发速率" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 [...]
-<p>It sets message dispatch rate for all the topics under a given namespace. Dispatch rate can be restricted by number of message per X seconds (<code>msg-dispatch-rate</code>) or by number of message-bytes per X second (<code>byte-dispatch-rate</code>). dispatch rate is in second and it can be configured with <code>dispatch-rate-period</code>. Default value of <code>msg-dispatch-rate</code> and <code>byte-dispatch-rate</code> is -1 which disables the throttling.</p>
+<p>为给定命名空间下所有的主题(topic)设置消息分发速率。 Dispatch rate can be restricted by number of message per X seconds (<code>msg-dispatch-rate</code>) or by number of message-bytes per X second (<code>byte-dispatch-rate</code>). dispatch rate is in second and it can be configured with <code>dispatch-rate-period</code>. Default value of <code>msg-dispatch-rate</code> and <code>byte-dispatch-rate</code> is -1 which disables the throttling.</p>
<h6><a class="anchor" aria-hidden="true" id="cli-15"></a><a href="#cli-15" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2. [...]
<pre><code class="hljs">$ pulsar-admin namespaces set-dispatch-rate test-tenant/ns1 \
--msg-dispatch-rate 1000 \
diff --git a/content/docs/zh-CN/admin-api-namespaces.html b/content/docs/zh-CN/admin-api-namespaces.html
index 9bea9fd..060880c 100644
--- a/content/docs/zh-CN/admin-api-namespaces.html
+++ b/content/docs/zh-CN/admin-api-namespaces.html
@@ -362,7 +362,7 @@ N/A
<pre><code class="hljs css language-java">admin.namespaces().getRetention(namespace)
</code></pre>
<h4><a class="anchor" aria-hidden="true" id="设置消息分发速率"></a><a href="#设置消息分发速率" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 [...]
-<p>It sets message dispatch rate for all the topics under a given namespace. Dispatch rate can be restricted by number of message per X seconds (<code>msg-dispatch-rate</code>) or by number of message-bytes per X second (<code>byte-dispatch-rate</code>). dispatch rate is in second and it can be configured with <code>dispatch-rate-period</code>. Default value of <code>msg-dispatch-rate</code> and <code>byte-dispatch-rate</code> is -1 which disables the throttling.</p>
+<p>为给定命名空间下所有的主题(topic)设置消息分发速率。 Dispatch rate can be restricted by number of message per X seconds (<code>msg-dispatch-rate</code>) or by number of message-bytes per X second (<code>byte-dispatch-rate</code>). dispatch rate is in second and it can be configured with <code>dispatch-rate-period</code>. Default value of <code>msg-dispatch-rate</code> and <code>byte-dispatch-rate</code> is -1 which disables the throttling.</p>
<h6><a class="anchor" aria-hidden="true" id="cli-15"></a><a href="#cli-15" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2. [...]
<pre><code class="hljs">$ pulsar-admin namespaces set-dispatch-rate test-tenant/ns1 \
--msg-dispatch-rate 1000 \
diff --git a/content/docs/zh-CN/admin-api-namespaces/index.html b/content/docs/zh-CN/admin-api-namespaces/index.html
index 9bea9fd..060880c 100644
--- a/content/docs/zh-CN/admin-api-namespaces/index.html
+++ b/content/docs/zh-CN/admin-api-namespaces/index.html
@@ -362,7 +362,7 @@ N/A
<pre><code class="hljs css language-java">admin.namespaces().getRetention(namespace)
</code></pre>
<h4><a class="anchor" aria-hidden="true" id="设置消息分发速率"></a><a href="#设置消息分发速率" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 [...]
-<p>It sets message dispatch rate for all the topics under a given namespace. Dispatch rate can be restricted by number of message per X seconds (<code>msg-dispatch-rate</code>) or by number of message-bytes per X second (<code>byte-dispatch-rate</code>). dispatch rate is in second and it can be configured with <code>dispatch-rate-period</code>. Default value of <code>msg-dispatch-rate</code> and <code>byte-dispatch-rate</code> is -1 which disables the throttling.</p>
+<p>为给定命名空间下所有的主题(topic)设置消息分发速率。 Dispatch rate can be restricted by number of message per X seconds (<code>msg-dispatch-rate</code>) or by number of message-bytes per X second (<code>byte-dispatch-rate</code>). dispatch rate is in second and it can be configured with <code>dispatch-rate-period</code>. Default value of <code>msg-dispatch-rate</code> and <code>byte-dispatch-rate</code> is -1 which disables the throttling.</p>
<h6><a class="anchor" aria-hidden="true" id="cli-15"></a><a href="#cli-15" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2. [...]
<pre><code class="hljs">$ pulsar-admin namespaces set-dispatch-rate test-tenant/ns1 \
--msg-dispatch-rate 1000 \
diff --git a/content/docs/zh-CN/functions-quickstart.html b/content/docs/zh-CN/functions-quickstart.html
index e9837e1..8912776 100644
--- a/content/docs/zh-CN/functions-quickstart.html
+++ b/content/docs/zh-CN/functions-quickstart.html
@@ -54,7 +54,7 @@
<h2><a class="anchor" aria-hidden="true" id="prerequisites"></a><a href="#prerequisites" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.8 [...]
<p>In order to follow along with this tutorial, you'll need to have <a href="https://maven.apache.org/download.cgi">Maven</a> installed on your machine.</p>
<h2><a class="anchor" aria-hidden="true" id="run-a-standalone-pulsar-cluster"></a><a href="#run-a-standalone-pulsar-cluster" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 [...]
-<p>In order to run our Pulsar Functions, we'll need to run a Pulsar cluster locally first. The easiest way to do that is to run Pulsar in <a href="/docs/zh-CN/reference-terminology#standalone">standalone</a> mode. Follow these steps to start up a standalone cluster:</p>
+<p>In order to run our Pulsar Functions, we'll need to run a Pulsar cluster locally first. The easiest way to do that is to run Pulsar in <a href="/docs/zh-CN/reference-terminology#standalone">standalone</a> mode. 根据下面的步骤来启动一个独立集群</p>
<pre><code class="hljs css language-bash">$ wget https://archive.apache.org/dist/pulsar/pulsar-2.2.0/apache-pulsar-2.2.0-bin.tar.gz
$ tar xvfz apache-pulsar-2.2.0-bin.tar.gz
$ <span class="hljs-built_in">cd</span> apache-pulsar-2.2.0
diff --git a/content/docs/zh-CN/functions-quickstart/index.html b/content/docs/zh-CN/functions-quickstart/index.html
index e9837e1..8912776 100644
--- a/content/docs/zh-CN/functions-quickstart/index.html
+++ b/content/docs/zh-CN/functions-quickstart/index.html
@@ -54,7 +54,7 @@
<h2><a class="anchor" aria-hidden="true" id="prerequisites"></a><a href="#prerequisites" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.8 [...]
<p>In order to follow along with this tutorial, you'll need to have <a href="https://maven.apache.org/download.cgi">Maven</a> installed on your machine.</p>
<h2><a class="anchor" aria-hidden="true" id="run-a-standalone-pulsar-cluster"></a><a href="#run-a-standalone-pulsar-cluster" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 [...]
-<p>In order to run our Pulsar Functions, we'll need to run a Pulsar cluster locally first. The easiest way to do that is to run Pulsar in <a href="/docs/zh-CN/reference-terminology#standalone">standalone</a> mode. Follow these steps to start up a standalone cluster:</p>
+<p>In order to run our Pulsar Functions, we'll need to run a Pulsar cluster locally first. The easiest way to do that is to run Pulsar in <a href="/docs/zh-CN/reference-terminology#standalone">standalone</a> mode. 根据下面的步骤来启动一个独立集群</p>
<pre><code class="hljs css language-bash">$ wget https://archive.apache.org/dist/pulsar/pulsar-2.2.0/apache-pulsar-2.2.0-bin.tar.gz
$ tar xvfz apache-pulsar-2.2.0-bin.tar.gz
$ <span class="hljs-built_in">cd</span> apache-pulsar-2.2.0
diff --git a/content/docs/zh-CN/next/admin-api-namespaces.html b/content/docs/zh-CN/next/admin-api-namespaces.html
index 7b0699f..f75952d 100644
--- a/content/docs/zh-CN/next/admin-api-namespaces.html
+++ b/content/docs/zh-CN/next/admin-api-namespaces.html
@@ -362,7 +362,7 @@ N/A
<pre><code class="hljs css language-java">admin.namespaces().getRetention(namespace)
</code></pre>
<h4><a class="anchor" aria-hidden="true" id="设置消息分发速率"></a><a href="#设置消息分发速率" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 [...]
-<p>It sets message dispatch rate for all the topics under a given namespace. Dispatch rate can be restricted by number of message per X seconds (<code>msg-dispatch-rate</code>) or by number of message-bytes per X second (<code>byte-dispatch-rate</code>). dispatch rate is in second and it can be configured with <code>dispatch-rate-period</code>. Default value of <code>msg-dispatch-rate</code> and <code>byte-dispatch-rate</code> is -1 which disables the throttling.</p>
+<p>为给定命名空间下所有的主题(topic)设置消息分发速率。 Dispatch rate can be restricted by number of message per X seconds (<code>msg-dispatch-rate</code>) or by number of message-bytes per X second (<code>byte-dispatch-rate</code>). dispatch rate is in second and it can be configured with <code>dispatch-rate-period</code>. Default value of <code>msg-dispatch-rate</code> and <code>byte-dispatch-rate</code> is -1 which disables the throttling.</p>
<h6><a class="anchor" aria-hidden="true" id="cli-15"></a><a href="#cli-15" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2. [...]
<pre><code class="hljs">$ pulsar-admin namespaces set-dispatch-rate test-tenant/ns1 \
--msg-dispatch-rate 1000 \
diff --git a/content/docs/zh-CN/next/admin-api-namespaces/index.html b/content/docs/zh-CN/next/admin-api-namespaces/index.html
index 7b0699f..f75952d 100644
--- a/content/docs/zh-CN/next/admin-api-namespaces/index.html
+++ b/content/docs/zh-CN/next/admin-api-namespaces/index.html
@@ -362,7 +362,7 @@ N/A
<pre><code class="hljs css language-java">admin.namespaces().getRetention(namespace)
</code></pre>
<h4><a class="anchor" aria-hidden="true" id="设置消息分发速率"></a><a href="#设置消息分发速率" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 [...]
-<p>It sets message dispatch rate for all the topics under a given namespace. Dispatch rate can be restricted by number of message per X seconds (<code>msg-dispatch-rate</code>) or by number of message-bytes per X second (<code>byte-dispatch-rate</code>). dispatch rate is in second and it can be configured with <code>dispatch-rate-period</code>. Default value of <code>msg-dispatch-rate</code> and <code>byte-dispatch-rate</code> is -1 which disables the throttling.</p>
+<p>为给定命名空间下所有的主题(topic)设置消息分发速率。 Dispatch rate can be restricted by number of message per X seconds (<code>msg-dispatch-rate</code>) or by number of message-bytes per X second (<code>byte-dispatch-rate</code>). dispatch rate is in second and it can be configured with <code>dispatch-rate-period</code>. Default value of <code>msg-dispatch-rate</code> and <code>byte-dispatch-rate</code> is -1 which disables the throttling.</p>
<h6><a class="anchor" aria-hidden="true" id="cli-15"></a><a href="#cli-15" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2. [...]
<pre><code class="hljs">$ pulsar-admin namespaces set-dispatch-rate test-tenant/ns1 \
--msg-dispatch-rate 1000 \
diff --git a/content/swagger/swagger.json b/content/swagger/swagger.json
index 80f323e..ae256b5 100644
--- a/content/swagger/swagger.json
+++ b/content/swagger/swagger.json
@@ -6556,10 +6556,10 @@
"type" : "string"
}
},
- "connectedSince" : {
+ "clientVersion" : {
"type" : "string"
},
- "clientVersion" : {
+ "connectedSince" : {
"type" : "string"
},
"address" : {
@@ -6882,15 +6882,6 @@
"type" : "number",
"format" : "double"
},
- "underLoaded" : {
- "type" : "boolean"
- },
- "overLoaded" : {
- "type" : "boolean"
- },
- "loadReportType" : {
- "type" : "string"
- },
"cpu" : {
"$ref" : "#/definitions/ResourceUsage"
},
@@ -6917,6 +6908,15 @@
"msgThroughputOut" : {
"type" : "number",
"format" : "double"
+ },
+ "underLoaded" : {
+ "type" : "boolean"
+ },
+ "overLoaded" : {
+ "type" : "boolean"
+ },
+ "loadReportType" : {
+ "type" : "string"
}
}
},
@@ -7079,10 +7079,10 @@
"producerName" : {
"type" : "string"
},
- "connectedSince" : {
+ "clientVersion" : {
"type" : "string"
},
- "clientVersion" : {
+ "connectedSince" : {
"type" : "string"
},
"address" : {
@@ -7793,10 +7793,10 @@
"producerName" : {
"type" : "string"
},
- "connectedSince" : {
+ "clientVersion" : {
"type" : "string"
},
- "clientVersion" : {
+ "connectedSince" : {
"type" : "string"
},
"address" : {