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 06ccd07  [Doc] Fix the config document for elasticSearchUrl in 
io-elasticsearch-sink (#14528)
06ccd07 is described below

commit 06ccd07d7751809fb43c98bd803db0bfc39e8da2
Author: Zod705 <[email protected]>
AuthorDate: Fri Mar 4 09:21:27 2022 +0800

    [Doc] Fix the config document for elasticSearchUrl in io-elasticsearch-sink 
(#14528)
---
 site2/docs/io-elasticsearch-sink.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/site2/docs/io-elasticsearch-sink.md 
b/site2/docs/io-elasticsearch-sink.md
index bf7c553..aafdc14 100644
--- a/site2/docs/io-elasticsearch-sink.md
+++ b/site2/docs/io-elasticsearch-sink.md
@@ -49,8 +49,8 @@ The configuration of the Elasticsearch sink connector has the 
following properti
 
 | Name | Type|Required | Default | Description 
 |------|----------|----------|---------|-------------|
-| `elasticSearchUrl` | String| true |" " (empty string)| The index name to 
which the connector writes messages. The default value is the topic name. It 
accepts date formats in the name to support event time based index with the 
pattern `%{+<date-format>}`. For example, suppose the event time of the record 
is 1645182000000L, the indexName is `logs-%{+yyyy-MM-dd}`, then the formatted 
index name would be `logs-2022-02-18`. |
-| `indexName` | String| false |" " (empty string)| The index name to which the 
connector writes messages. |
+| `elasticSearchUrl` | String| true |" " (empty string)| The URL of elastic 
search cluster to which the connector connects. |
+| `indexName` | String| false |" " (empty string)| The index name to which the 
connector writes messages. The default value is the topic name. It accepts date 
formats in the name to support event time based index with the pattern 
`%{+<date-format>}`. For example, suppose the event time of the record is 
1645182000000L, the indexName is `logs-%{+yyyy-MM-dd}`, then the formatted 
index name would be `logs-2022-02-18`. |
 | `schemaEnable` | Boolean | false | false | Turn on the Schema Aware mode. |
 | `createIndexIfNeeded` | Boolean | false | false | Manage index if missing. |
 | `maxRetries` | Integer | false | 1 | The maximum number of retries for 
elasticsearch requests. Use -1 to disable it.  |

Reply via email to