EricJoy2048 commented on code in PR #3673:
URL: 
https://github.com/apache/incubator-seatunnel/pull/3673#discussion_r1042196307


##########
docs/en/connector-v2/sink/Elasticsearch.md:
##########
@@ -58,10 +66,28 @@ batch bulk doc max size
 Sink plugin common parameters, please refer to [Sink Common 
Options](common-options.md) for details
 
 ## Examples
+
+Simple
+
 ```bash
-Elasticsearch {
-    hosts = ["localhost:9200"]
-    index = "seatunnel-${age}"
+sink {
+    Elasticsearch {
+        hosts = ["localhost:9200"]
+        index = "seatunnel-${age}"
+    }
+}
+```
+
+CDC(Change data capture) event
+
+```bash
+sink {
+    Elasticsearch {
+        hosts = ["localhost:9200"]
+        index = "seatunnel-${age}"
+        
+        primary_keys = ["key1", "key2", ...]

Review Comment:
   I think `primary_keys ` is required when use cdc, right?



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