yunqingmoswu commented on code in PR #6165: URL: https://github.com/apache/inlong/pull/6165#discussion_r997657498
########## inlong-sort/sort-common/src/main/java/org/apache/inlong/sort/protocol/node/load/KafkaLoadNode.java: ########## @@ -112,14 +119,23 @@ public KafkaLoadNode(@JsonProperty("id") String id, @JsonProperty("properties") Map<String, String> properties, @JsonProperty("primaryKey") String primaryKey, @Nullable @JsonProperty("sinkMultipleFormat") Format sinkMultipleFormat, - @Nullable @JsonProperty("topicPattern") String topicPattern) { + @Nullable @JsonProperty("topicPattern") String topicPattern, + @Nullable @JsonProperty("sinkPartitioner") String sinkPartitioner, + @Nullable @JsonProperty("partitionPattern") String partitionPattern) { super(id, name, fields, fieldRelations, filters, filterStrategy, sinkParallelism, properties); this.topic = Preconditions.checkNotNull(topic, "topic is null"); this.bootstrapServers = Preconditions.checkNotNull(bootstrapServers, "bootstrapServers is null"); this.format = Preconditions.checkNotNull(format, "format is null"); this.primaryKey = primaryKey; this.sinkMultipleFormat = sinkMultipleFormat; this.topicPattern = topicPattern; + this.sinkPartitioner = sinkPartitioner; + if ("raw-hash".equals(sinkPartitioner)) { Review Comment: ok -- 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-unsubscr...@inlong.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org