- Inserts go into logs, hashed by Kafka and Hudi partitions - Fixed issues with the setupKafka script - Bumped up the default commit interval to 300 seconds - Minor renaming
20 lines
852 B
JSON
20 lines
852 B
JSON
{
|
|
"name": "hudi-sink",
|
|
"config": {
|
|
"bootstrap.servers": "localhost:9092",
|
|
"connector.class": "org.apache.hudi.connect.HoodieSinkConnector",
|
|
"tasks.max": "4",
|
|
"key.converter": "org.apache.kafka.connect.storage.StringConverter",
|
|
"value.converter": "org.apache.kafka.connect.storage.StringConverter",
|
|
"value.converter.schemas.enable": "false",
|
|
"topics": "hudi-test-topic",
|
|
"hoodie.table.name": "hudi-test-topic",
|
|
"hoodie.table.type": "MERGE_ON_READ",
|
|
"hoodie.base.path": "file:///tmp/hoodie/hudi-test-topic",
|
|
"hoodie.datasource.write.recordkey.field": "volume",
|
|
"hoodie.datasource.write.partitionpath.field": "date",
|
|
"hoodie.schemaprovider.class": "org.apache.hudi.schema.SchemaRegistryProvider",
|
|
"hoodie.deltastreamer.schemaprovider.registry.url": "http://localhost:8081/subjects/hudi-test-topic/versions/latest"
|
|
}
|
|
}
|