danny0405 commented on code in PR #6320:
URL: https://github.com/apache/hudi/pull/6320#discussion_r939808811
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/configuration/FlinkOptions.java:
##########
@@ -875,6 +883,33 @@ public static <T> boolean
isDefaultValueDefined(Configuration conf, ConfigOption
|| conf.get(option).equals(option.defaultValue());
}
+ public static String getKeyGenClassNameByType(Configuration conf) {
+ String genType = conf.get(FlinkOptions.KEYGEN_TYPE);
Review Comment:
Can giving the option `KEYGEN_CLASS_NAME` a default value:
`SimpleAvroKeyGenerator`
solves your problem ?
--
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]