use of com.qlangtech.plugins.incr.flink.cdc.source.TestBasicFlinkSourceHandle in project plugins by qlangtech.
the class CUDCDCTestSuit method createConsumerHandle.
protected IResultRows createConsumerHandle(String tabName) {
TestBasicFlinkSourceHandle sourceHandle = new TestBasicFlinkSourceHandle(tabName);
TISSinkFactory sinkFuncFactory = new TISSinkFactory() {
@Override
public Map<IDataxProcessor.TableAlias, SinkFunction<DTO>> createSinkFunction(IDataxProcessor dataxProcessor) {
return Collections.emptyMap();
}
};
sourceHandle.setSinkFuncFactory(sinkFuncFactory);
return sourceHandle;
}
Aggregations