public class SimpleAvroKeyGenerator extends BaseKeyGenerator
consistentLogicalTimestampEnabled, CUSTOM_KEY_GENERATOR_SPLIT_REGEX, EMPTY_PARTITION, encodePartitionPath, FIELD_SEPARATOR, hiveStylePartitioning, partitionPathFields, recordKeyFieldsconfig| Constructor and Description |
|---|
SimpleAvroKeyGenerator(TypedProperties props) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPartitionPath(org.apache.avro.generic.GenericRecord record) |
String |
getRecordKey(org.apache.avro.generic.GenericRecord record) |
getKey, getPartitionPathFields, getRecordKeyFieldNames, isConsistentLogicalTimestampEnabledpublic SimpleAvroKeyGenerator(TypedProperties props)
public String getRecordKey(org.apache.avro.generic.GenericRecord record)
getRecordKey in class BaseKeyGeneratorpublic String getPartitionPath(org.apache.avro.generic.GenericRecord record)
getPartitionPath in class BaseKeyGeneratorCopyright © 2024 The Apache Software Foundation. All rights reserved.