yihua commented on code in PR #9377:
URL: https://github.com/apache/hudi/pull/9377#discussion_r1286573665


##########
hudi-common/src/main/java/org/apache/hudi/common/util/ConfigUtils.java:
##########
@@ -61,11 +91,69 @@ public static List<String> split2List(String param) {
         .map(String::trim).distinct().collect(Collectors.toList());
   }
 
+  /**
+   * Convert the key-value config to a map.The format of the config
+   * is a key-value pair just like "k1=v1\nk2=v2\nk3=v3".
+   *
+   * @param keyValueConfig
+   * @return
+   */
+  public static Map<String, String> toMap(String keyValueConfig) {

Review Comment:
   This is moved from 
`hudi-sync/hudi-sync-common/src/main/java/org/apache/hudi/sync/common/util/ConfigUtils.java`.



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