1
0

[HUDI-1633] Make callback return HoodieWriteStat (#2445)

* CALLBACK add partitionPath

* callback can send hoodieWriteStat

* add ApiMaturityLevel
This commit is contained in:
liujinhui
2021-07-16 12:37:07 +08:00
committed by GitHub
parent 38cd74b563
commit 3b264e80d9
6 changed files with 25 additions and 21 deletions

View File

@@ -66,7 +66,7 @@ public class HoodieWriteCommitKafkaCallback implements HoodieWriteCommitCallback
try (KafkaProducer<String, String> producer = createProducer(hoodieConfig)) {
ProducerRecord<String, String> record = buildProducerRecord(hoodieConfig, callbackMsg);
producer.send(record);
LOG.info(String.format("Send callback message %s succeed", callbackMsg));
LOG.info("Send callback message succeed");
} catch (Exception e) {
LOG.error("Send kafka callback msg failed : ", e);
}