Anonymitaet commented on a change in pull request #14383:
URL: https://github.com/apache/pulsar/pull/14383#discussion_r815613145



##########
File path: site2/website-next/docs/io-elasticsearch-sink.md
##########
@@ -50,7 +50,7 @@ The configuration of the Elasticsearch sink connector has the 
following properti
 | Name | Type|Required | Default | Description 
 |------|----------|----------|---------|-------------|
 | `elasticSearchUrl` | String| true |" " (empty string)| The URL of elastic 
search cluster to which the connector connects. |
-| `indexName` | String| true |" " (empty string)| The index name to which the 
connector writes messages. |
+| `indexName` | 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`. |

Review comment:
       Hi @fantapsody the docs should be added to 
`site2/docs/io-elasticsearch-sink.md` as well.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to