Lokesh Jain created HUDI-5374:
---------------------------------
Summary: Use KeyGeneratorFactory class for instantiating a
KeyGenerator
Key: HUDI-5374
URL: https://issues.apache.org/jira/browse/HUDI-5374
Project: Apache Hudi
Issue Type: Bug
Reporter: Lokesh Jain
Assignee: Lokesh Jain
Currently the configs hoodie.datasource.write.keygenerator.class and
hoodie.datasource.write.keygenerator.type are used in multiple areas to create
a key generator. The idea is to reuse the *KeyGeneratorFactory classes for
instantiating KeyGenerator.
The Jira adds a KeyGeneratorFactory base class and
HoodieSparkKeyGeneratorFactory, HoodieAvroKeyGeneratorFactory extends this base
class. These classes are then used in code for creating KeyGenerator.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)