Skip to content

Commit

Permalink
Optimize elasearch sink docs. (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
shibd authored Feb 26, 2024
1 parent 5b13241 commit 8c4d964
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Create a Elasticsearch cluster. You can create a single-node Elasticsearch clust
```bash
docker run -p 9200:9200 -p 9300:9300 \
-e "discovery.type=single-node" \
-e "ELASTIC_PASSWORD=ElasticPasseword" \
-e "ELASTIC_PASSWORD=pulsar-sink-test" \
docker.elastic.co/elasticsearch/elasticsearch:7.17.13
```

Expand All @@ -62,10 +62,10 @@ pulsarctl sinks create \
--sink-config \
'{
"elasticSearchUrl": "http://localhost:90902",
"indexName": "myIndex",
"indexName": "myindex",
"typeName": "doc",
"username": "scooby",
"password": "doobie"
"username": "elastic",
"password": "pulsar-sink-test"
}'
```

Expand Down
8 changes: 4 additions & 4 deletions connectors/elasticsearch-sink/v2.11.3.2/elasticsearch-sink.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Create a Elasticsearch cluster. You can create a single-node Elasticsearch clust
```bash
docker run -p 9200:9200 -p 9300:9300 \
-e "discovery.type=single-node" \
-e "ELASTIC_PASSWORD=ElasticPasseword" \
-e "ELASTIC_PASSWORD=pulsar-sink-test" \
docker.elastic.co/elasticsearch/elasticsearch:7.17.13
```

Expand All @@ -62,10 +62,10 @@ pulsarctl sinks create \
--sink-config \
'{
"elasticSearchUrl": "http://localhost:90902",
"indexName": "myIndex",
"indexName": "myindex",
"typeName": "doc",
"username": "scooby",
"password": "doobie"
"username": "elastic",
"password": "pulsar-sink-test"
}'
```

Expand Down
8 changes: 4 additions & 4 deletions connectors/elasticsearch-sink/v3.0.2.6/elasticsearch-sink.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Create a Elasticsearch cluster. You can create a single-node Elasticsearch clust
```bash
docker run -p 9200:9200 -p 9300:9300 \
-e "discovery.type=single-node" \
-e "ELASTIC_PASSWORD=ElasticPasseword" \
-e "ELASTIC_PASSWORD=pulsar-sink-test" \
docker.elastic.co/elasticsearch/elasticsearch:7.17.13
```

Expand All @@ -62,10 +62,10 @@ pulsarctl sinks create \
--sink-config \
'{
"elasticSearchUrl": "http://localhost:90902",
"indexName": "myIndex",
"indexName": "myindex",
"typeName": "doc",
"username": "scooby",
"password": "doobie"
"username": "elastic",
"password": "pulsar-sink-test"
}'
```

Expand Down
8 changes: 4 additions & 4 deletions connectors/elasticsearch-sink/v3.1.2.2/elasticsearch-sink.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Create a Elasticsearch cluster. You can create a single-node Elasticsearch clust
```bash
docker run -p 9200:9200 -p 9300:9300 \
-e "discovery.type=single-node" \
-e "ELASTIC_PASSWORD=ElasticPasseword" \
-e "ELASTIC_PASSWORD=pulsar-sink-test" \
docker.elastic.co/elasticsearch/elasticsearch:7.17.13
```

Expand All @@ -62,10 +62,10 @@ pulsarctl sinks create \
--sink-config \
'{
"elasticSearchUrl": "http://localhost:90902",
"indexName": "myIndex",
"indexName": "myindex",
"typeName": "doc",
"username": "scooby",
"password": "doobie"
"username": "elastic",
"password": "pulsar-sink-test"
}'
```

Expand Down

0 comments on commit 8c4d964

Please sign in to comment.