momo-jun commented on code in PR #15428:
URL: https://github.com/apache/pulsar/pull/15428#discussion_r866516075


##########
site2/docs/io-elasticsearch-sink.md:
##########
@@ -80,6 +80,7 @@ The configuration of the Elasticsearch sink connector has the 
following properti
 | `compatibilityMode` | enum (AUTO,ELASTICSEARCH,ELASTICSEARCH_7,OPENSEARCH) | 
AUTO |  | Specify compatibility mode with the ElasticSearch cluster. `AUTO` 
value will try to auto detect the correct compatibility mode to use. Use 
`ELASTICSEARCH_7` if the target cluster is running ElasticSearch 7 or prior. 
Use `ELASTICSEARCH` if the target cluster is running ElasticSearch 8 or higher. 
Use `OPENSEARCH` if the target cluster is running OpenSearch. |
 | `token` | String| false | " " (empty string)|The token used by the connector 
to connect to the ElasticSearch cluster. Only one between basic/token/apiKey 
authentication mode must be configured. |
 | `apiKey` | String| false | " " (empty string)|The apiKey used by the 
connector to connect to the ElasticSearch cluster. Only one between 
basic/token/apiKey authentication mode must be configured. |
+| `idHashingAlgorithm` | enum(NONE,SHA256,SHA512)| false | NONE|Hashing 
algorithm to use for the document id. This is useful in order to be compliant 
with the ElasticSearch _id hard limit of 512 bytes. |

Review Comment:
   ```suggestion
   | `idHashingAlgorithm` | enum(NONE,SHA256,SHA512)| false | NONE | Hashing 
algorithm for the document ID to be compliant with the hard size limit (512 
bytes) of ElasticSearch `_id`. |
   ```



-- 
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