This is an automated email from the ASF dual-hosted git repository.
liuyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 855b369 Fix incorrect usage of localrun command in es sink (#11240)
855b369 is described below
commit 855b3697b5e9877dacdf0d03a5ab0d7de4a7faac
Author: Fangbin Sun <[email protected]>
AuthorDate: Wed Jul 7 12:45:52 2021 +0800
Fix incorrect usage of localrun command in es sink (#11240)
---
site2/docs/io-elasticsearch-sink.md | 4 +---
site2/website/versioned_docs/version-2.5.1/io-elasticsearch-sink.md | 4 +---
site2/website/versioned_docs/version-2.5.2/io-elasticsearch-sink.md | 4 +---
site2/website/versioned_docs/version-2.6.0/io-elasticsearch-sink.md | 4 +---
site2/website/versioned_docs/version-2.6.1/io-elasticsearch-sink.md | 4 +---
site2/website/versioned_docs/version-2.6.2/io-elasticsearch-sink.md | 4 +---
site2/website/versioned_docs/version-2.6.3/io-elasticsearch-sink.md | 4 +---
site2/website/versioned_docs/version-2.6.4/io-elasticsearch-sink.md | 4 +---
site2/website/versioned_docs/version-2.7.0/io-elasticsearch-sink.md | 4 +---
site2/website/versioned_docs/version-2.7.1/io-elasticsearch-sink.md | 4 +---
site2/website/versioned_docs/version-2.7.2/io-elasticsearch-sink.md | 4 +---
site2/website/versioned_docs/version-2.7.3/io-elasticsearch-sink.md | 4 +---
site2/website/versioned_docs/version-2.8.0/io-elasticsearch-sink.md | 4 +---
site2/website/versioned_docs/version-2.8.1/io-elasticsearch-sink.md | 4 +---
14 files changed, 14 insertions(+), 42 deletions(-)
diff --git a/site2/docs/io-elasticsearch-sink.md
b/site2/docs/io-elasticsearch-sink.md
index a7c4d4c..b2e51bb 100644
--- a/site2/docs/io-elasticsearch-sink.md
+++ b/site2/docs/io-elasticsearch-sink.md
@@ -90,7 +90,7 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
```bash
$ bin/pulsar standalone
```
- Make sure the nar file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
+ Make sure the NAR file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
3. Start the Pulsar Elasticsearch connector in local run mode using one of the
following methods.
* Use the **JSON** configuration as shown previously.
@@ -100,7 +100,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config
'{"elasticSearchUrl":"http://localhost:9200","indexName":
"my_index","username": "scooby","password": "doobie"}' \
--inputs elasticsearch_test
```
@@ -112,7 +111,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config-file elasticsearch-sink.yml \
--inputs elasticsearch_test
```
diff --git
a/site2/website/versioned_docs/version-2.5.1/io-elasticsearch-sink.md
b/site2/website/versioned_docs/version-2.5.1/io-elasticsearch-sink.md
index 68655ee..cf63ef6 100644
--- a/site2/website/versioned_docs/version-2.5.1/io-elasticsearch-sink.md
+++ b/site2/website/versioned_docs/version-2.5.1/io-elasticsearch-sink.md
@@ -91,7 +91,7 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
```bash
$ bin/pulsar standalone
```
- Make sure the nar file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
+ Make sure the NAR file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
3. Start the Pulsar Elasticsearch connector in local run mode using one of the
following methods.
* Use the **JSON** configuration as shown previously.
@@ -101,7 +101,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config
'{"elasticSearchUrl":"http://localhost:9200","indexName":
"my_index","username": "scooby","password": "doobie"}' \
--inputs elasticsearch_test
```
@@ -113,7 +112,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config-file elasticsearch-sink.yml \
--inputs elasticsearch_test
```
diff --git
a/site2/website/versioned_docs/version-2.5.2/io-elasticsearch-sink.md
b/site2/website/versioned_docs/version-2.5.2/io-elasticsearch-sink.md
index 9151459..0a97e1a 100644
--- a/site2/website/versioned_docs/version-2.5.2/io-elasticsearch-sink.md
+++ b/site2/website/versioned_docs/version-2.5.2/io-elasticsearch-sink.md
@@ -91,7 +91,7 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
```bash
$ bin/pulsar standalone
```
- Make sure the nar file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
+ Make sure the NAR file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
3. Start the Pulsar Elasticsearch connector in local run mode using one of the
following methods.
* Use the **JSON** configuration as shown previously.
@@ -101,7 +101,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config
'{"elasticSearchUrl":"http://localhost:9200","indexName":
"my_index","username": "scooby","password": "doobie"}' \
--inputs elasticsearch_test
```
@@ -113,7 +112,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config-file elasticsearch-sink.yml \
--inputs elasticsearch_test
```
diff --git
a/site2/website/versioned_docs/version-2.6.0/io-elasticsearch-sink.md
b/site2/website/versioned_docs/version-2.6.0/io-elasticsearch-sink.md
index 43b196b..1c62dba 100644
--- a/site2/website/versioned_docs/version-2.6.0/io-elasticsearch-sink.md
+++ b/site2/website/versioned_docs/version-2.6.0/io-elasticsearch-sink.md
@@ -91,7 +91,7 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
```bash
$ bin/pulsar standalone
```
- Make sure the nar file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
+ Make sure the NAR file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
3. Start the Pulsar Elasticsearch connector in local run mode using one of the
following methods.
* Use the **JSON** configuration as shown previously.
@@ -101,7 +101,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config
'{"elasticSearchUrl":"http://localhost:9200","indexName":
"my_index","username": "scooby","password": "doobie"}' \
--inputs elasticsearch_test
```
@@ -113,7 +112,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config-file elasticsearch-sink.yml \
--inputs elasticsearch_test
```
diff --git
a/site2/website/versioned_docs/version-2.6.1/io-elasticsearch-sink.md
b/site2/website/versioned_docs/version-2.6.1/io-elasticsearch-sink.md
index 8d47bf0..73ac01b 100644
--- a/site2/website/versioned_docs/version-2.6.1/io-elasticsearch-sink.md
+++ b/site2/website/versioned_docs/version-2.6.1/io-elasticsearch-sink.md
@@ -91,7 +91,7 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
```bash
$ bin/pulsar standalone
```
- Make sure the nar file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
+ Make sure the NAR file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
3. Start the Pulsar Elasticsearch connector in local run mode using one of the
following methods.
* Use the **JSON** configuration as shown previously.
@@ -101,7 +101,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config
'{"elasticSearchUrl":"http://localhost:9200","indexName":
"my_index","username": "scooby","password": "doobie"}' \
--inputs elasticsearch_test
```
@@ -113,7 +112,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config-file elasticsearch-sink.yml \
--inputs elasticsearch_test
```
diff --git
a/site2/website/versioned_docs/version-2.6.2/io-elasticsearch-sink.md
b/site2/website/versioned_docs/version-2.6.2/io-elasticsearch-sink.md
index 622ebe0..8a8c710 100644
--- a/site2/website/versioned_docs/version-2.6.2/io-elasticsearch-sink.md
+++ b/site2/website/versioned_docs/version-2.6.2/io-elasticsearch-sink.md
@@ -91,7 +91,7 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
```bash
$ bin/pulsar standalone
```
- Make sure the nar file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
+ Make sure the NAR file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
3. Start the Pulsar Elasticsearch connector in local run mode using one of the
following methods.
* Use the **JSON** configuration as shown previously.
@@ -101,7 +101,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config
'{"elasticSearchUrl":"http://localhost:9200","indexName":
"my_index","username": "scooby","password": "doobie"}' \
--inputs elasticsearch_test
```
@@ -113,7 +112,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config-file elasticsearch-sink.yml \
--inputs elasticsearch_test
```
diff --git
a/site2/website/versioned_docs/version-2.6.3/io-elasticsearch-sink.md
b/site2/website/versioned_docs/version-2.6.3/io-elasticsearch-sink.md
index 18d8778..36dccbd 100644
--- a/site2/website/versioned_docs/version-2.6.3/io-elasticsearch-sink.md
+++ b/site2/website/versioned_docs/version-2.6.3/io-elasticsearch-sink.md
@@ -91,7 +91,7 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
```bash
$ bin/pulsar standalone
```
- Make sure the nar file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
+ Make sure the NAR file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
3. Start the Pulsar Elasticsearch connector in local run mode using one of the
following methods.
* Use the **JSON** configuration as shown previously.
@@ -101,7 +101,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config
'{"elasticSearchUrl":"http://localhost:9200","indexName":
"my_index","username": "scooby","password": "doobie"}' \
--inputs elasticsearch_test
```
@@ -113,7 +112,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config-file elasticsearch-sink.yml \
--inputs elasticsearch_test
```
diff --git
a/site2/website/versioned_docs/version-2.6.4/io-elasticsearch-sink.md
b/site2/website/versioned_docs/version-2.6.4/io-elasticsearch-sink.md
index 4a9f535..1c2fe21 100644
--- a/site2/website/versioned_docs/version-2.6.4/io-elasticsearch-sink.md
+++ b/site2/website/versioned_docs/version-2.6.4/io-elasticsearch-sink.md
@@ -91,7 +91,7 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
```bash
$ bin/pulsar standalone
```
- Make sure the nar file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
+ Make sure the NAR file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
3. Start the Pulsar Elasticsearch connector in local run mode using one of the
following methods.
* Use the **JSON** configuration as shown previously.
@@ -101,7 +101,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config
'{"elasticSearchUrl":"http://localhost:9200","indexName":
"my_index","username": "scooby","password": "doobie"}' \
--inputs elasticsearch_test
```
@@ -113,7 +112,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config-file elasticsearch-sink.yml \
--inputs elasticsearch_test
```
diff --git
a/site2/website/versioned_docs/version-2.7.0/io-elasticsearch-sink.md
b/site2/website/versioned_docs/version-2.7.0/io-elasticsearch-sink.md
index c67e7cb..4723bd7 100644
--- a/site2/website/versioned_docs/version-2.7.0/io-elasticsearch-sink.md
+++ b/site2/website/versioned_docs/version-2.7.0/io-elasticsearch-sink.md
@@ -91,7 +91,7 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
```bash
$ bin/pulsar standalone
```
- Make sure the nar file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
+ Make sure the NAR file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
3. Start the Pulsar Elasticsearch connector in local run mode using one of the
following methods.
* Use the **JSON** configuration as shown previously.
@@ -101,7 +101,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config
'{"elasticSearchUrl":"http://localhost:9200","indexName":
"my_index","username": "scooby","password": "doobie"}' \
--inputs elasticsearch_test
```
@@ -113,7 +112,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config-file elasticsearch-sink.yml \
--inputs elasticsearch_test
```
diff --git
a/site2/website/versioned_docs/version-2.7.1/io-elasticsearch-sink.md
b/site2/website/versioned_docs/version-2.7.1/io-elasticsearch-sink.md
index 1491fcf..34e9c23 100644
--- a/site2/website/versioned_docs/version-2.7.1/io-elasticsearch-sink.md
+++ b/site2/website/versioned_docs/version-2.7.1/io-elasticsearch-sink.md
@@ -91,7 +91,7 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
```bash
$ bin/pulsar standalone
```
- Make sure the nar file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
+ Make sure the NAR file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
3. Start the Pulsar Elasticsearch connector in local run mode using one of the
following methods.
* Use the **JSON** configuration as shown previously.
@@ -101,7 +101,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config
'{"elasticSearchUrl":"http://localhost:9200","indexName":
"my_index","username": "scooby","password": "doobie"}' \
--inputs elasticsearch_test
```
@@ -113,7 +112,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config-file elasticsearch-sink.yml \
--inputs elasticsearch_test
```
diff --git
a/site2/website/versioned_docs/version-2.7.2/io-elasticsearch-sink.md
b/site2/website/versioned_docs/version-2.7.2/io-elasticsearch-sink.md
index a2c2927..cca9b4c 100644
--- a/site2/website/versioned_docs/version-2.7.2/io-elasticsearch-sink.md
+++ b/site2/website/versioned_docs/version-2.7.2/io-elasticsearch-sink.md
@@ -91,7 +91,7 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
```bash
$ bin/pulsar standalone
```
- Make sure the nar file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
+ Make sure the NAR file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
3. Start the Pulsar Elasticsearch connector in local run mode using one of the
following methods.
* Use the **JSON** configuration as shown previously.
@@ -101,7 +101,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config
'{"elasticSearchUrl":"http://localhost:9200","indexName":
"my_index","username": "scooby","password": "doobie"}' \
--inputs elasticsearch_test
```
@@ -113,7 +112,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config-file elasticsearch-sink.yml \
--inputs elasticsearch_test
```
diff --git
a/site2/website/versioned_docs/version-2.7.3/io-elasticsearch-sink.md
b/site2/website/versioned_docs/version-2.7.3/io-elasticsearch-sink.md
index d7d592a..ea5e138 100644
--- a/site2/website/versioned_docs/version-2.7.3/io-elasticsearch-sink.md
+++ b/site2/website/versioned_docs/version-2.7.3/io-elasticsearch-sink.md
@@ -91,7 +91,7 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
```bash
$ bin/pulsar standalone
```
- Make sure the nar file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
+ Make sure the NAR file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
3. Start the Pulsar Elasticsearch connector in local run mode using one of the
following methods.
* Use the **JSON** configuration as shown previously.
@@ -101,7 +101,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config
'{"elasticSearchUrl":"http://localhost:9200","indexName":
"my_index","username": "scooby","password": "doobie"}' \
--inputs elasticsearch_test
```
@@ -113,7 +112,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config-file elasticsearch-sink.yml \
--inputs elasticsearch_test
```
diff --git
a/site2/website/versioned_docs/version-2.8.0/io-elasticsearch-sink.md
b/site2/website/versioned_docs/version-2.8.0/io-elasticsearch-sink.md
index 15df6ef..d33a769 100644
--- a/site2/website/versioned_docs/version-2.8.0/io-elasticsearch-sink.md
+++ b/site2/website/versioned_docs/version-2.8.0/io-elasticsearch-sink.md
@@ -91,7 +91,7 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
```bash
$ bin/pulsar standalone
```
- Make sure the nar file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
+ Make sure the NAR file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
3. Start the Pulsar Elasticsearch connector in local run mode using one of the
following methods.
* Use the **JSON** configuration as shown previously.
@@ -101,7 +101,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config
'{"elasticSearchUrl":"http://localhost:9200","indexName":
"my_index","username": "scooby","password": "doobie"}' \
--inputs elasticsearch_test
```
@@ -113,7 +112,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config-file elasticsearch-sink.yml \
--inputs elasticsearch_test
```
diff --git
a/site2/website/versioned_docs/version-2.8.1/io-elasticsearch-sink.md
b/site2/website/versioned_docs/version-2.8.1/io-elasticsearch-sink.md
index f36d3af..6da7ba9 100644
--- a/site2/website/versioned_docs/version-2.8.1/io-elasticsearch-sink.md
+++ b/site2/website/versioned_docs/version-2.8.1/io-elasticsearch-sink.md
@@ -91,7 +91,7 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
```bash
$ bin/pulsar standalone
```
- Make sure the nar file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
+ Make sure the NAR file is available at
`connectors/pulsar-io-elastic-search-{{pulsar:version}}.nar`.
3. Start the Pulsar Elasticsearch connector in local run mode using one of the
following methods.
* Use the **JSON** configuration as shown previously.
@@ -101,7 +101,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config
'{"elasticSearchUrl":"http://localhost:9200","indexName":
"my_index","username": "scooby","password": "doobie"}' \
--inputs elasticsearch_test
```
@@ -113,7 +112,6 @@ Before using the ElasticSearch sink connector, you need to
create a configuratio
--tenant public \
--namespace default \
--name elasticsearch-test-sink \
- --sink-type elastic_search \
--sink-config-file elasticsearch-sink.yml \
--inputs elasticsearch_test
```