[
https://issues.apache.org/jira/browse/HUDI-2150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17379618#comment-17379618
]
Vinoth Chandar commented on HUDI-2150:
--------------------------------------
Move to PayloadConfig?
{code:java}
public static final ConfigProperty<String> PAYLOAD_CLASS_PROP = ConfigProperty
.key("hoodie.compaction.payload.class")
.defaultValue(OverwriteWithLatestAvroPayload.class.getName())
.withDocumentation("This needs to be same as class used during insert/upserts.
Just like writing, compaction also uses "
+ "the record payload class to merge records in the log against each other,
merge again with the base file and "
+ "produce the final record to be written after compaction.");
{code}
> Rename/Restructure configs for better modularity
> ------------------------------------------------
>
> Key: HUDI-2150
> URL: https://issues.apache.org/jira/browse/HUDI-2150
> Project: Apache Hudi
> Issue Type: Sub-task
> Components: Code Cleanup
> Reporter: Vinoth Chandar
> Assignee: Vinoth Chandar
> Priority: Major
>
> Given we have a framework now, that can capture configs and even their
> alternatives well, time to clean things up.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)