You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/05/14 06:16:08 UTC

[pulsar-site] branch main updated: Docs sync done from apache/pulsar(#7bdfa3a)

This is an automated email from the ASF dual-hosted git repository.

urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 72c81301315 Docs sync done from apache/pulsar(#7bdfa3a)
72c81301315 is described below

commit 72c813013154a1c9dafac2c8770a3f69dab6f88f
Author: Pulsar Site Updater <de...@pulsar.apache.org>
AuthorDate: Sat May 14 06:16:03 2022 +0000

    Docs sync done from apache/pulsar(#7bdfa3a)
---
 site2/docs/develop-plugin.md                                   |  2 +-
 site2/docs/io-elasticsearch-sink.md                            |  6 ++++++
 site2/docs/io-rabbitmq-sink.md                                 |  4 ++--
 site2/docs/reference-pulsar-admin.md                           | 10 +++++-----
 site2/website-next/docs/develop-plugin.md                      |  2 +-
 site2/website-next/docs/io-elasticsearch-sink.md               |  6 ++++++
 site2/website-next/docs/io-rabbitmq-sink.md                    |  4 ++--
 site2/website-next/docs/reference-pulsar-admin.md              | 10 +++++-----
 .../versioned_docs/version-2.10.0/develop-plugin.md            |  2 +-
 site2/website/versioned_docs/version-2.10.0/develop-plugin.md  |  2 +-
 10 files changed, 30 insertions(+), 18 deletions(-)

diff --git a/site2/docs/develop-plugin.md b/site2/docs/develop-plugin.md
index 7d219dde8b7..fe7129923d3 100644
--- a/site2/docs/develop-plugin.md
+++ b/site2/docs/develop-plugin.md
@@ -57,7 +57,7 @@ For how to create a Maven project, see [here](https://maven.apache.org/guides/ge
 
 3. Describe a NAR file.
 
-    Create an `entry_filter.yaml` file in the `resources/META-INF/services` directory to describe a NAR file.
+    Create an `entry_filter.yml` file in the `resources/META-INF/services` directory to describe a NAR file.
 
     ```conf
     # Entry filter name, which should be configured in the broker.conf file later
diff --git a/site2/docs/io-elasticsearch-sink.md b/site2/docs/io-elasticsearch-sink.md
index 8cfc8225a10..3616fd53d57 100644
--- a/site2/docs/io-elasticsearch-sink.md
+++ b/site2/docs/io-elasticsearch-sink.md
@@ -6,6 +6,12 @@ sidebar_label: Elasticsearch sink connector
 
 The Elasticsearch sink connector pulls messages from Pulsar topics and persists the messages to indexes.
 
+## Requirements
+
+To deploy an Elasticsearch sink connector, the following are required:
+
+- Elasticsearch 7 (Elasticsearch 8 will be supported in the future)
+- OpenSearch 1.x
 
 ## Feature 
 
diff --git a/site2/docs/io-rabbitmq-sink.md b/site2/docs/io-rabbitmq-sink.md
index 5112dafe4b5..47f188459a1 100644
--- a/site2/docs/io-rabbitmq-sink.md
+++ b/site2/docs/io-rabbitmq-sink.md
@@ -30,7 +30,7 @@ The configuration of the RabbitMQ sink connector has the following properties.
 | `handshakeTimeout` | int|false | 10000 | The timeout of AMQP0-9-1 protocol handshake in milliseconds. |
 | `requestedHeartbeat` | int|false | 60 | The exchange to publish messages. |
 | `exchangeName` | String|true | " " (empty string) | The maximum number of messages that the server delivers.<br><br> 0 means unlimited. |
-| `prefetchGlobal` |String|true | " " (empty string) |The routing key used to publish messages. |
+| `routingKey` |String|true | " " (empty string) |The routing key used to publish messages. |
 
 
 ### Example
@@ -66,7 +66,7 @@ Before using the RabbitMQ sink connector, you need to create a configuration fil
     configs:
         host: "localhost"
         port: 5672
-        virtualHost: "/",
+        virtualHost: "/"
         username: "guest"
         password: "guest"
         queueName: "test-queue"
diff --git a/site2/docs/reference-pulsar-admin.md b/site2/docs/reference-pulsar-admin.md
index f0ec2f7f035..91fc6a530e6 100644
--- a/site2/docs/reference-pulsar-admin.md
+++ b/site2/docs/reference-pulsar-admin.md
@@ -1162,7 +1162,7 @@ Options
 |Flag|Description|Default|
 |----|---|---|
 |`-l`, `--limit`|The backlog size limit (for example `10M` or `16G`)||
-|`-lt`, `--limitTime`|Time limit in second, non-positive number for disabling time limit. (for example 3600 for 1 hour)||
+|`-lt`, `--limitTime`|Time limit in second (or minutes, hours, days, weeks eg: 100m, 3h, 2d, 5w), non-positive number for disabling time limit. (for example 3600 for 1 hour)||
 |`-p`, `--policy`|The retention policy to enforce when the limit is reached. The valid options are: `producer_request_hold`, `producer_exception` or `consumer_backlog_eviction`|
 |`-t`, `--type`|Backlog quota type to set. The valid options are: `destination_storage`, `message_age` |destination_storage|
 
@@ -2365,7 +2365,7 @@ Options
 
 |Flag|Description|Default|
 |---|---|---|
-|`-t`, `--expireTime`|Expire messages older than the time (in seconds)|0|
+|`-t`, `--expireTime`|Expire messages older than the time in seconds (or minutes, hours, days, weeks eg: 100m, 3h, 2d, 5w)|0|
 |`-s`, `--subscription`|The subscription to skip messages on||
 
 
@@ -2381,7 +2381,7 @@ Options
 
 |Flag|Description|Default|
 |---|---|---|
-|`-t`, `--expireTime`|Expire messages older than the time (in seconds)|0|
+|`-t`, `--expireTime`|Expire messages older than the time in seconds (or minutes, hours, days, weeks eg: 100m, 3h, 2d, 5w)|0|
 
 
 ### `peek-messages`
@@ -2453,7 +2453,7 @@ Set a backlog quota policy for a topic.
 |Flag|Description|Default|
 |----|---|---|
 |`-l`, `--limit`|The backlog size limit (for example `10M` or `16G`)||
-|`-lt`, `--limitTime`|Time limit in second, non-positive number for disabling time limit. (for example 3600 for 1 hour)||
+|`-lt`, `--limitTime`|Time limit in second (or minutes, hours, days, weeks eg: 100m, 3h, 2d, 5w), non-positive number for disabling time limit. (for example 3600 for 1 hour)||
 |`-p`, `--policy`|The retention policy to enforce when the limit is reached. The valid options are: `producer_request_hold`, `producer_exception` or `consumer_backlog_eviction`|
 |`-t`, `--type`|Backlog quota type to set. The valid options are: `destination_storage`, `message_age` |destination_storage|
 
@@ -2540,7 +2540,7 @@ Options
 
 |Flag|Description|Default|
 |----|---|---|
-|`-ttl`, `--messageTTL`|Message TTL for a topic in second, allowed range from 1 to `Integer.MAX_VALUE` |0|
+|`-t`, `--ttl`|Message TTL for a topic in second (or minutes, hours, days, weeks eg: 100m, 3h, 2d, 5w), allowed range from 1 to `Integer.MAX_VALUE` |0|
 
 ### `remove-message-ttl`
 Remove the message TTL for a topic.
diff --git a/site2/website-next/docs/develop-plugin.md b/site2/website-next/docs/develop-plugin.md
index 5446fde9063..6223c3dbbc0 100644
--- a/site2/website-next/docs/develop-plugin.md
+++ b/site2/website-next/docs/develop-plugin.md
@@ -59,7 +59,7 @@ For how to create a Maven project, see [here](https://maven.apache.org/guides/ge
 
 3. Describe a NAR file.
 
-   Create an `entry_filter.yaml` file in the `resources/META-INF/services` directory to describe a NAR file.
+   Create an `entry_filter.yml` file in the `resources/META-INF/services` directory to describe a NAR file.
 
    ```conf
    
diff --git a/site2/website-next/docs/io-elasticsearch-sink.md b/site2/website-next/docs/io-elasticsearch-sink.md
index bec659d73ea..ada9ce71916 100644
--- a/site2/website-next/docs/io-elasticsearch-sink.md
+++ b/site2/website-next/docs/io-elasticsearch-sink.md
@@ -6,6 +6,12 @@ sidebar_label: "Elasticsearch sink connector"
 
 The Elasticsearch sink connector pulls messages from Pulsar topics and persists the messages to indexes.
 
+## Requirements
+
+To deploy an Elasticsearch sink connector, the following are required:
+
+- Elasticsearch 7 (Elasticsearch 8 will be supported in the future)
+- OpenSearch 1.x
 
 ## Feature 
 
diff --git a/site2/website-next/docs/io-rabbitmq-sink.md b/site2/website-next/docs/io-rabbitmq-sink.md
index 6e4dedc19c1..9dac5b57e7c 100644
--- a/site2/website-next/docs/io-rabbitmq-sink.md
+++ b/site2/website-next/docs/io-rabbitmq-sink.md
@@ -30,7 +30,7 @@ The configuration of the RabbitMQ sink connector has the following properties.
 | `handshakeTimeout` | int|false | 10000 | The timeout of AMQP0-9-1 protocol handshake in milliseconds. |
 | `requestedHeartbeat` | int|false | 60 | The exchange to publish messages. |
 | `exchangeName` | String|true | " " (empty string) | The maximum number of messages that the server delivers.<br /><br /> 0 means unlimited. |
-| `prefetchGlobal` |String|true | " " (empty string) |The routing key used to publish messages. |
+| `routingKey` |String|true | " " (empty string) |The routing key used to publish messages. |
 
 
 ### Example
@@ -69,7 +69,7 @@ Before using the RabbitMQ sink connector, you need to create a configuration fil
   configs:
       host: "localhost"
       port: 5672
-      virtualHost: "/",
+      virtualHost: "/"
       username: "guest"
       password: "guest"
       queueName: "test-queue"
diff --git a/site2/website-next/docs/reference-pulsar-admin.md b/site2/website-next/docs/reference-pulsar-admin.md
index c74ba9cb4d3..d0ab78d1018 100644
--- a/site2/website-next/docs/reference-pulsar-admin.md
+++ b/site2/website-next/docs/reference-pulsar-admin.md
@@ -1369,7 +1369,7 @@ Options
 |Flag|Description|Default|
 |----|---|---|
 |`-l`, `--limit`|The backlog size limit (for example `10M` or `16G`)||
-|`-lt`, `--limitTime`|Time limit in second, non-positive number for disabling time limit. (for example 3600 for 1 hour)||
+|`-lt`, `--limitTime`|Time limit in second (or minutes, hours, days, weeks eg: 100m, 3h, 2d, 5w), non-positive number for disabling time limit. (for example 3600 for 1 hour)||
 |`-p`, `--policy`|The retention policy to enforce when the limit is reached. The valid options are: `producer_request_hold`, `producer_exception` or `consumer_backlog_eviction`|
 |`-t`, `--type`|Backlog quota type to set. The valid options are: `destination_storage`, `message_age` |destination_storage|
 
@@ -2861,7 +2861,7 @@ Options
 
 |Flag|Description|Default|
 |---|---|---|
-|`-t`, `--expireTime`|Expire messages older than the time (in seconds)|0|
+|`-t`, `--expireTime`|Expire messages older than the time in seconds (or minutes, hours, days, weeks eg: 100m, 3h, 2d, 5w)|0|
 |`-s`, `--subscription`|The subscription to skip messages on||
 
 
@@ -2880,7 +2880,7 @@ Options
 
 |Flag|Description|Default|
 |---|---|---|
-|`-t`, `--expireTime`|Expire messages older than the time (in seconds)|0|
+|`-t`, `--expireTime`|Expire messages older than the time in seconds (or minutes, hours, days, weeks eg: 100m, 3h, 2d, 5w)|0|
 
 
 ### `peek-messages`
@@ -2967,7 +2967,7 @@ Set a backlog quota policy for a topic.
 |Flag|Description|Default|
 |----|---|---|
 |`-l`, `--limit`|The backlog size limit (for example `10M` or `16G`)||
-|`-lt`, `--limitTime`|Time limit in second, non-positive number for disabling time limit. (for example 3600 for 1 hour)||
+|`-lt`, `--limitTime`|Time limit in second (or minutes, hours, days, weeks eg: 100m, 3h, 2d, 5w), non-positive number for disabling time limit. (for example 3600 for 1 hour)||
 |`-p`, `--policy`|The retention policy to enforce when the limit is reached. The valid options are: `producer_request_hold`, `producer_exception` or `consumer_backlog_eviction`|
 |`-t`, `--type`|Backlog quota type to set. The valid options are: `destination_storage`, `message_age` |destination_storage|
 
@@ -3081,7 +3081,7 @@ Options
 
 |Flag|Description|Default|
 |----|---|---|
-|`-ttl`, `--messageTTL`|Message TTL for a topic in second, allowed range from 1 to `Integer.MAX_VALUE` |0|
+|`-t`, `--ttl`|Message TTL for a topic in second (or minutes, hours, days, weeks eg: 100m, 3h, 2d, 5w), allowed range from 1 to `Integer.MAX_VALUE` |0|
 
 ### `remove-message-ttl`
 Remove the message TTL for a topic.
diff --git a/site2/website-next/versioned_docs/version-2.10.0/develop-plugin.md b/site2/website-next/versioned_docs/version-2.10.0/develop-plugin.md
index e7e7ad01417..28d8de8ae37 100644
--- a/site2/website-next/versioned_docs/version-2.10.0/develop-plugin.md
+++ b/site2/website-next/versioned_docs/version-2.10.0/develop-plugin.md
@@ -60,7 +60,7 @@ For how to create a Maven project, see [here](https://maven.apache.org/guides/ge
 
 3. Describe a NAR file.
 
-   Create an `entry_filter.yaml` file in the `resources/META-INF/services` directory to describe a NAR file.
+   Create an `entry_filter.yml` file in the `resources/META-INF/services` directory to describe a NAR file.
 
    ```conf
    
diff --git a/site2/website/versioned_docs/version-2.10.0/develop-plugin.md b/site2/website/versioned_docs/version-2.10.0/develop-plugin.md
index c6a3d7de977..cbc249f891c 100644
--- a/site2/website/versioned_docs/version-2.10.0/develop-plugin.md
+++ b/site2/website/versioned_docs/version-2.10.0/develop-plugin.md
@@ -58,7 +58,7 @@ For how to create a Maven project, see [here](https://maven.apache.org/guides/ge
 
 3. Describe a NAR file.
 
-    Create an `entry_filter.yaml` file in the `resources/META-INF/services` directory to describe a NAR file.
+    Create an `entry_filter.yml` file in the `resources/META-INF/services` directory to describe a NAR file.
 
     ```conf
     # Entry filter name, which should be configured in the broker.conf file later