Carl-Zhou-CN commented on code in PR #3365:
URL: 
https://github.com/apache/incubator-seatunnel/pull/3365#discussion_r1018856325


##########
seatunnel-connectors-v2/connector-kudu/src/main/java/org/apache/seatunnel/connectors/seatunnel/kudu/config/KuduSinkConfig.java:
##########
@@ -26,11 +29,25 @@
 @Data
 public class KuduSinkConfig {
 
-    private static final String KUDU_SAVE_MODE = "save_mode";
-    private static final String KUDU_MASTER = "kudu_master";
-    private static final String KUDU_TABLE_NAME = "kudu_table";
+    public static final Option<String> KUDU_MASTER =
+        Options.key("kudu_master")
+            .stringType()
+            .noDefaultValue()
+            .withDescription("kudu master address");
+
+    public static final Option<SaveMode> KUDU_SAVE_MODE =
+        Options.key("save_mode")
+            .enumType(SaveMode.class)
+            .noDefaultValue()

Review Comment:
   At present, this parameter is defined as mandatory. If necessary, I can 
change it to non mandatory and add the default value



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