Skip to content

Commit

Permalink
Optimize elasearch sink docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
shibd committed Feb 24, 2024
1 parent 5b13241 commit a6e2fb3
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 a6e2fb3

Please sign in to comment.