linliu-code commented on code in PR #18224:
URL: https://github.com/apache/hudi/pull/18224#discussion_r3034652126
##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/sources/JsonKinesisSource.java:
##########
@@ -210,7 +218,8 @@ private static String recordToJsonStatic(Record record,
String shardId, boolean
}
return OBJECT_MAPPER.writeValueAsString(node);
} catch (Exception e) {
- return dataStr;
+ // We can disable the flag for mitigation.
+ throw new RuntimeException("Failed to add metadata fields", e);
Review Comment:
Done.
--
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]