[HUDI-2864] Fix README and scripts with current limitations of hive sync (#4129)
* Fix README with current limitations of hive sync * Fix README with current limitations of hive sync * Fix dep issue * Fix Copy on Write flow Co-authored-by: Rajesh Mahindra <rmahindra@Rajeshs-MacBook-Pro.local>
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
package org.apache.hudi.connect;
|
||||
|
||||
import org.apache.hudi.common.config.TypedProperties;
|
||||
import org.apache.hudi.connect.utils.KafkaConnectUtils;
|
||||
import org.apache.hudi.exception.HoodieException;
|
||||
import org.apache.hudi.table.FileIdPrefixProvider;
|
||||
@@ -25,8 +26,6 @@ import org.apache.hudi.table.FileIdPrefixProvider;
|
||||
import org.apache.log4j.LogManager;
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
import java.util.Properties;
|
||||
|
||||
public class KafkaConnectFileIdPrefixProvider extends FileIdPrefixProvider {
|
||||
|
||||
public static final String KAFKA_CONNECT_PARTITION_ID = "hudi.kafka.connect.partition";
|
||||
@@ -34,7 +33,7 @@ public class KafkaConnectFileIdPrefixProvider extends FileIdPrefixProvider {
|
||||
|
||||
private final String kafkaPartition;
|
||||
|
||||
public KafkaConnectFileIdPrefixProvider(Properties props) {
|
||||
public KafkaConnectFileIdPrefixProvider(TypedProperties props) {
|
||||
super(props);
|
||||
if (!props.containsKey(KAFKA_CONNECT_PARTITION_ID)) {
|
||||
LOG.error("Fatal error due to Kafka Connect Partition Id is not set");
|
||||
|
||||
Reference in New Issue
Block a user