use of org.apache.hudi.utilities.deltastreamer.DeltaSync in project hudi by apache.
the class HoodieDeltaStreamerWrapper method fetchSource.
public Pair<SchemaProvider, Pair<String, JavaRDD<HoodieRecord>>> fetchSource() throws Exception {
DeltaSync service = deltaSyncService.get().getDeltaSync();
service.refreshTimeline();
return service.readFromSource(service.getCommitTimelineOpt());
}
Aggregations