You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/07/07 05:30:30 UTC

[GitHub] [inlong] gong commented on a diff in pull request #4849: [INLONG-4659][Sort] Support field routing for Elasticsearch connector

gong commented on code in PR #4849:
URL: https://github.com/apache/inlong/pull/4849#discussion_r915472791


##########
inlong-sort/sort-common/src/main/java/org/apache/inlong/sort/protocol/node/load/ElasticsearchLoadNode.java:
##########
@@ -94,6 +97,7 @@ public ElasticsearchLoadNode(@JsonProperty("id") String id,
         this.index = Preconditions.checkNotNull(index, "index is null");
         this.documentType = documentType;
         this.primaryKey = primaryKey;
+        this.routingFieldName = primaryKey;

Review Comment:
   `routingFieldName = primaryKey;`?



-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org