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


##########
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. |
+| `canonicalKeyFields` | Boolean | false | false | If canonicalKeyFields is 
true and record key schema is JSON or AVRO, the serialized object will not 
consider the properties order. |

Review Comment:
   ```suggestion
   | `canonicalKeyFields` | Boolean | false | false | Whether to sort the key 
fields for JSON and Avro or not. If it is set to `true` and the record key 
schema is `JSON` or `AVRO`, the serialized object does not consider the order 
of properties. |
   ```



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