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 7a6b4d3 Updated site at revision db15d32 7a6b4d3 is described below commit 7a6b4d35624097a75d65b1a05cf272ebf244446a Author: jenkins <bui...@apache.org> AuthorDate: Wed Oct 9 09:24:54 2019 +0000 Updated site at revision db15d32 --- content/docs/en/next/client-libraries-java.html | 4 +- .../docs/en/next/client-libraries-java/index.html | 4 +- content/docs/fr/next/client-libraries-java.html | 14 +++--- .../docs/fr/next/client-libraries-java/index.html | 14 +++--- content/docs/ja/next/client-libraries-java.html | 4 +- .../docs/ja/next/client-libraries-java/index.html | 4 +- content/docs/zh-CN/next/client-libraries-java.html | 14 +++--- .../zh-CN/next/client-libraries-java/index.html | 14 +++--- content/swagger/2.5.0-SNAPSHOT/swagger.json | 56 +++++++++++----------- .../swagger/2.5.0-SNAPSHOT/swaggerfunctions.json | 26 +++++----- content/swagger/master/swagger.json | 56 +++++++++++----------- content/swagger/master/swaggerfunctions.json | 26 +++++----- 12 files changed, 118 insertions(+), 118 deletions(-) diff --git a/content/docs/en/next/client-libraries-java.html b/content/docs/en/next/client-libraries-java.html index 27f236a..3f09803 100644 --- a/content/docs/en/next/client-libraries-java.html +++ b/content/docs/en/next/client-libraries-java.html @@ -196,10 +196,10 @@ client.close(); </code></pre> <p>Close operations can also be asynchronous:</p> <pre><code class="hljs css language-java">producer.closeAsync() - .thenRun(() -> System.out.println(<span class="hljs-string">"Producer closed"</span>)); + .thenRun(() -> System.out.println(<span class="hljs-string">"Producer closed"</span>)) .exceptionally((ex) -> { System.err.println(<span class="hljs-string">"Failed to close producer: "</span> + ex); - <span class="hljs-keyword">return</span> ex; + <span class="hljs-keyword">return</span> <span class="hljs-keyword">null</span>; }); </code></pre> </blockquote> diff --git a/content/docs/en/next/client-libraries-java/index.html b/content/docs/en/next/client-libraries-java/index.html index 27f236a..3f09803 100644 --- a/content/docs/en/next/client-libraries-java/index.html +++ b/content/docs/en/next/client-libraries-java/index.html @@ -196,10 +196,10 @@ client.close(); </code></pre> <p>Close operations can also be asynchronous:</p> <pre><code class="hljs css language-java">producer.closeAsync() - .thenRun(() -> System.out.println(<span class="hljs-string">"Producer closed"</span>)); + .thenRun(() -> System.out.println(<span class="hljs-string">"Producer closed"</span>)) .exceptionally((ex) -> { System.err.println(<span class="hljs-string">"Failed to close producer: "</span> + ex); - <span class="hljs-keyword">return</span> ex; + <span class="hljs-keyword">return</span> <span class="hljs-keyword">null</span>; }); </code></pre> </blockquote> diff --git a/content/docs/fr/next/client-libraries-java.html b/content/docs/fr/next/client-libraries-java.html index 5887e35..ca3c59a 100644 --- a/content/docs/fr/next/client-libraries-java.html +++ b/content/docs/fr/next/client-libraries-java.html @@ -180,13 +180,13 @@ client.close();</p> <pre><code class="hljs"> Les opérations de fermeture peuvent également être asynchrones : -```<span class="hljs-keyword">java -</span>producer.<span class="hljs-keyword">closeAsync() -</span> .thenRun(() -> System.out.println(<span class="hljs-string">"Producer closed"</span>))<span class="hljs-comment">;</span> - .exceptionally((ex) -> { - System<span class="hljs-meta">.err</span>.println(<span class="hljs-string">"Failed to close producer: "</span> + ex)<span class="hljs-comment">;</span> - return ex<span class="hljs-comment">;</span> - })<span class="hljs-comment">;</span> +```java +producer.closeAsync() + .thenRun(<span class="hljs-function"><span class="hljs-params">()</span> -></span> System.out.println(<span class="hljs-string">"Producer closed"</span>)) + .exceptionally(<span class="hljs-function"><span class="hljs-params">(ex)</span> -></span> { + System.err.println(<span class="hljs-string">"Failed to close producer: "</span> + ex); + <span class="hljs-keyword">return</span> null; + }); </code></pre> <h3><a class="anchor" aria-hidden="true" id="configure-producer"></a><a href="#configure-producer" 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- [...] <p>If you instantiate a <code>Producer</code> object specifying only a topic name, as in the example above, the producer uses the default configuration.</p> diff --git a/content/docs/fr/next/client-libraries-java/index.html b/content/docs/fr/next/client-libraries-java/index.html index 5887e35..ca3c59a 100644 --- a/content/docs/fr/next/client-libraries-java/index.html +++ b/content/docs/fr/next/client-libraries-java/index.html @@ -180,13 +180,13 @@ client.close();</p> <pre><code class="hljs"> Les opérations de fermeture peuvent également être asynchrones : -```<span class="hljs-keyword">java -</span>producer.<span class="hljs-keyword">closeAsync() -</span> .thenRun(() -> System.out.println(<span class="hljs-string">"Producer closed"</span>))<span class="hljs-comment">;</span> - .exceptionally((ex) -> { - System<span class="hljs-meta">.err</span>.println(<span class="hljs-string">"Failed to close producer: "</span> + ex)<span class="hljs-comment">;</span> - return ex<span class="hljs-comment">;</span> - })<span class="hljs-comment">;</span> +```java +producer.closeAsync() + .thenRun(<span class="hljs-function"><span class="hljs-params">()</span> -></span> System.out.println(<span class="hljs-string">"Producer closed"</span>)) + .exceptionally(<span class="hljs-function"><span class="hljs-params">(ex)</span> -></span> { + System.err.println(<span class="hljs-string">"Failed to close producer: "</span> + ex); + <span class="hljs-keyword">return</span> null; + }); </code></pre> <h3><a class="anchor" aria-hidden="true" id="configure-producer"></a><a href="#configure-producer" 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- [...] <p>If you instantiate a <code>Producer</code> object specifying only a topic name, as in the example above, the producer uses the default configuration.</p> diff --git a/content/docs/ja/next/client-libraries-java.html b/content/docs/ja/next/client-libraries-java.html index e7bf6f9..460e72a 100644 --- a/content/docs/ja/next/client-libraries-java.html +++ b/content/docs/ja/next/client-libraries-java.html @@ -183,10 +183,10 @@ client.close();</p> ```<span class="hljs-keyword">java </span>producer.<span class="hljs-keyword">closeAsync() -</span> .thenRun(() -> System.out.println(<span class="hljs-string">"Producer closed"</span>))<span class="hljs-comment">;</span> +</span> .thenRun(() -> System.out.println(<span class="hljs-string">"Producer closed"</span>)) .exceptionally((ex) -> { System<span class="hljs-meta">.err</span>.println(<span class="hljs-string">"Failed to close producer: "</span> + ex)<span class="hljs-comment">;</span> - return ex<span class="hljs-comment">;</span> + return null<span class="hljs-comment">;</span> })<span class="hljs-comment">;</span> </code></pre> <h3><a class="anchor" aria-hidden="true" id="configure-producer"></a><a href="#configure-producer" 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- [...] diff --git a/content/docs/ja/next/client-libraries-java/index.html b/content/docs/ja/next/client-libraries-java/index.html index e7bf6f9..460e72a 100644 --- a/content/docs/ja/next/client-libraries-java/index.html +++ b/content/docs/ja/next/client-libraries-java/index.html @@ -183,10 +183,10 @@ client.close();</p> ```<span class="hljs-keyword">java </span>producer.<span class="hljs-keyword">closeAsync() -</span> .thenRun(() -> System.out.println(<span class="hljs-string">"Producer closed"</span>))<span class="hljs-comment">;</span> +</span> .thenRun(() -> System.out.println(<span class="hljs-string">"Producer closed"</span>)) .exceptionally((ex) -> { System<span class="hljs-meta">.err</span>.println(<span class="hljs-string">"Failed to close producer: "</span> + ex)<span class="hljs-comment">;</span> - return ex<span class="hljs-comment">;</span> + return null<span class="hljs-comment">;</span> })<span class="hljs-comment">;</span> </code></pre> <h3><a class="anchor" aria-hidden="true" id="configure-producer"></a><a href="#configure-producer" 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- [...] diff --git a/content/docs/zh-CN/next/client-libraries-java.html b/content/docs/zh-CN/next/client-libraries-java.html index ae47059..2c038fb 100644 --- a/content/docs/zh-CN/next/client-libraries-java.html +++ b/content/docs/zh-CN/next/client-libraries-java.html @@ -182,13 +182,13 @@ client.close();</p> <pre><code class="hljs"> 关闭操作也可以是异步的: -```<span class="hljs-keyword">java -</span>producer.<span class="hljs-keyword">closeAsync() -</span> .thenRun(() -> System.out.println(<span class="hljs-string">"Producer closed"</span>))<span class="hljs-comment">;</span> - .exceptionally((ex) -> { - System<span class="hljs-meta">.err</span>.println(<span class="hljs-string">"Failed to close producer: "</span> + ex)<span class="hljs-comment">;</span> - return ex<span class="hljs-comment">;</span> - })<span class="hljs-comment">;</span> +```java +producer.closeAsync() + .thenRun(<span class="hljs-function"><span class="hljs-params">()</span> -></span> System.out.println(<span class="hljs-string">"Producer closed"</span>)) + .exceptionally(<span class="hljs-function"><span class="hljs-params">(ex)</span> -></span> { + System.err.println(<span class="hljs-string">"Failed to close producer: "</span> + ex); + <span class="hljs-keyword">return</span> null; + }); </code></pre> <h3><a class="anchor" aria-hidden="true" id="configure-producer"></a><a href="#configure-producer" 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- [...] <p>If you instantiate a <code>Producer</code> object specifying only a topic name, as in the example above, the producer uses the default configuration.</p> diff --git a/content/docs/zh-CN/next/client-libraries-java/index.html b/content/docs/zh-CN/next/client-libraries-java/index.html index ae47059..2c038fb 100644 --- a/content/docs/zh-CN/next/client-libraries-java/index.html +++ b/content/docs/zh-CN/next/client-libraries-java/index.html @@ -182,13 +182,13 @@ client.close();</p> <pre><code class="hljs"> 关闭操作也可以是异步的: -```<span class="hljs-keyword">java -</span>producer.<span class="hljs-keyword">closeAsync() -</span> .thenRun(() -> System.out.println(<span class="hljs-string">"Producer closed"</span>))<span class="hljs-comment">;</span> - .exceptionally((ex) -> { - System<span class="hljs-meta">.err</span>.println(<span class="hljs-string">"Failed to close producer: "</span> + ex)<span class="hljs-comment">;</span> - return ex<span class="hljs-comment">;</span> - })<span class="hljs-comment">;</span> +```java +producer.closeAsync() + .thenRun(<span class="hljs-function"><span class="hljs-params">()</span> -></span> System.out.println(<span class="hljs-string">"Producer closed"</span>)) + .exceptionally(<span class="hljs-function"><span class="hljs-params">(ex)</span> -></span> { + System.err.println(<span class="hljs-string">"Failed to close producer: "</span> + ex); + <span class="hljs-keyword">return</span> null; + }); </code></pre> <h3><a class="anchor" aria-hidden="true" id="configure-producer"></a><a href="#configure-producer" 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- [...] <p>If you instantiate a <code>Producer</code> object specifying only a topic name, as in the example above, the producer uses the default configuration.</p> diff --git a/content/swagger/2.5.0-SNAPSHOT/swagger.json b/content/swagger/2.5.0-SNAPSHOT/swagger.json index 52aa32f..f6343e1 100644 --- a/content/swagger/2.5.0-SNAPSHOT/swagger.json +++ b/content/swagger/2.5.0-SNAPSHOT/swagger.json @@ -8551,10 +8551,10 @@ "type" : "string" } }, - "clientVersion" : { + "connectedSince" : { "type" : "string" }, - "connectedSince" : { + "clientVersion" : { "type" : "string" }, "address" : { @@ -8908,33 +8908,27 @@ "type" : "number", "format" : "double" }, - "bandwidthIn" : { - "$ref" : "#/definitions/ResourceUsage" + "msgThroughputIn" : { + "type" : "number", + "format" : "double" }, - "bandwidthOut" : { + "msgThroughputOut" : { + "type" : "number", + "format" : "double" + }, + "directMemory" : { "$ref" : "#/definitions/ResourceUsage" }, - "memory" : { + "bandwidthIn" : { "$ref" : "#/definitions/ResourceUsage" }, - "directMemory" : { + "bandwidthOut" : { "$ref" : "#/definitions/ResourceUsage" }, "lastUpdate" : { "type" : "integer", "format" : "int64" }, - "msgThroughputIn" : { - "type" : "number", - "format" : "double" - }, - "msgThroughputOut" : { - "type" : "number", - "format" : "double" - }, - "cpu" : { - "$ref" : "#/definitions/ResourceUsage" - }, "underLoaded" : { "type" : "boolean" }, @@ -8943,6 +8937,12 @@ }, "loadReportType" : { "type" : "string" + }, + "memory" : { + "$ref" : "#/definitions/ResourceUsage" + }, + "cpu" : { + "$ref" : "#/definitions/ResourceUsage" } } }, @@ -9110,15 +9110,15 @@ "type" : "number", "format" : "double" }, - "clientVersion" : { - "type" : "string" - }, "producerName" : { "type" : "string" }, "connectedSince" : { "type" : "string" }, + "clientVersion" : { + "type" : "string" + }, "address" : { "type" : "string" } @@ -9785,15 +9785,15 @@ "type" : "string" } }, - "clientVersion" : { - "type" : "string" - }, "producerName" : { "type" : "string" }, "connectedSince" : { "type" : "string" }, + "clientVersion" : { + "type" : "string" + }, "address" : { "type" : "string" } @@ -9850,15 +9850,15 @@ "ResourceDescription" : { "type" : "object", "properties" : { - "usagePct" : { - "type" : "integer", - "format" : "int32" - }, "resourceUsage" : { "type" : "object", "additionalProperties" : { "$ref" : "#/definitions/ResourceUsage" } + }, + "usagePct" : { + "type" : "integer", + "format" : "int32" } } }, diff --git a/content/swagger/2.5.0-SNAPSHOT/swaggerfunctions.json b/content/swagger/2.5.0-SNAPSHOT/swaggerfunctions.json index fd8ad17..782098a 100644 --- a/content/swagger/2.5.0-SNAPSHOT/swaggerfunctions.json +++ b/content/swagger/2.5.0-SNAPSHOT/swaggerfunctions.json @@ -1362,6 +1362,12 @@ "topicName" : { "type" : "string" }, + "replicatedFrom" : { + "type" : "string" + }, + "producerName" : { + "type" : "string" + }, "messageId" : { "$ref" : "#/definitions/MessageId" }, @@ -1369,6 +1375,13 @@ "type" : "integer", "format" : "int64" }, + "keyBytes" : { + "type" : "array", + "items" : { + "type" : "string", + "format" : "byte" + } + }, "orderingKey" : { "type" : "array", "items" : { @@ -1390,19 +1403,6 @@ "format" : "byte" } }, - "replicatedFrom" : { - "type" : "string" - }, - "producerName" : { - "type" : "string" - }, - "keyBytes" : { - "type" : "array", - "items" : { - "type" : "string", - "format" : "byte" - } - }, "data" : { "type" : "array", "items" : { diff --git a/content/swagger/master/swagger.json b/content/swagger/master/swagger.json index 52aa32f..f6343e1 100644 --- a/content/swagger/master/swagger.json +++ b/content/swagger/master/swagger.json @@ -8551,10 +8551,10 @@ "type" : "string" } }, - "clientVersion" : { + "connectedSince" : { "type" : "string" }, - "connectedSince" : { + "clientVersion" : { "type" : "string" }, "address" : { @@ -8908,33 +8908,27 @@ "type" : "number", "format" : "double" }, - "bandwidthIn" : { - "$ref" : "#/definitions/ResourceUsage" + "msgThroughputIn" : { + "type" : "number", + "format" : "double" }, - "bandwidthOut" : { + "msgThroughputOut" : { + "type" : "number", + "format" : "double" + }, + "directMemory" : { "$ref" : "#/definitions/ResourceUsage" }, - "memory" : { + "bandwidthIn" : { "$ref" : "#/definitions/ResourceUsage" }, - "directMemory" : { + "bandwidthOut" : { "$ref" : "#/definitions/ResourceUsage" }, "lastUpdate" : { "type" : "integer", "format" : "int64" }, - "msgThroughputIn" : { - "type" : "number", - "format" : "double" - }, - "msgThroughputOut" : { - "type" : "number", - "format" : "double" - }, - "cpu" : { - "$ref" : "#/definitions/ResourceUsage" - }, "underLoaded" : { "type" : "boolean" }, @@ -8943,6 +8937,12 @@ }, "loadReportType" : { "type" : "string" + }, + "memory" : { + "$ref" : "#/definitions/ResourceUsage" + }, + "cpu" : { + "$ref" : "#/definitions/ResourceUsage" } } }, @@ -9110,15 +9110,15 @@ "type" : "number", "format" : "double" }, - "clientVersion" : { - "type" : "string" - }, "producerName" : { "type" : "string" }, "connectedSince" : { "type" : "string" }, + "clientVersion" : { + "type" : "string" + }, "address" : { "type" : "string" } @@ -9785,15 +9785,15 @@ "type" : "string" } }, - "clientVersion" : { - "type" : "string" - }, "producerName" : { "type" : "string" }, "connectedSince" : { "type" : "string" }, + "clientVersion" : { + "type" : "string" + }, "address" : { "type" : "string" } @@ -9850,15 +9850,15 @@ "ResourceDescription" : { "type" : "object", "properties" : { - "usagePct" : { - "type" : "integer", - "format" : "int32" - }, "resourceUsage" : { "type" : "object", "additionalProperties" : { "$ref" : "#/definitions/ResourceUsage" } + }, + "usagePct" : { + "type" : "integer", + "format" : "int32" } } }, diff --git a/content/swagger/master/swaggerfunctions.json b/content/swagger/master/swaggerfunctions.json index fd8ad17..782098a 100644 --- a/content/swagger/master/swaggerfunctions.json +++ b/content/swagger/master/swaggerfunctions.json @@ -1362,6 +1362,12 @@ "topicName" : { "type" : "string" }, + "replicatedFrom" : { + "type" : "string" + }, + "producerName" : { + "type" : "string" + }, "messageId" : { "$ref" : "#/definitions/MessageId" }, @@ -1369,6 +1375,13 @@ "type" : "integer", "format" : "int64" }, + "keyBytes" : { + "type" : "array", + "items" : { + "type" : "string", + "format" : "byte" + } + }, "orderingKey" : { "type" : "array", "items" : { @@ -1390,19 +1403,6 @@ "format" : "byte" } }, - "replicatedFrom" : { - "type" : "string" - }, - "producerName" : { - "type" : "string" - }, - "keyBytes" : { - "type" : "array", - "items" : { - "type" : "string", - "format" : "byte" - } - }, "data" : { "type" : "array", "items" : {