Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxiaojian committed Aug 9, 2024
1 parent 2edba9e commit 5b386bb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import org.apache.seatunnel.connectors.seatunnel.cdc.tidb.source.config.TiDBSourceOptions;
import org.apache.seatunnel.connectors.seatunnel.cdc.tidb.source.enumerator.TiDBSourceCheckpointState;
import org.apache.seatunnel.connectors.seatunnel.cdc.tidb.source.enumerator.TiDBSourceSplitEnumerator;
import org.apache.seatunnel.connectors.seatunnel.cdc.tidb.source.reader.TiDBSourceReader;
import org.apache.seatunnel.connectors.seatunnel.cdc.tidb.source.split.TiDBSourceSplit;

import java.util.List;
Expand Down Expand Up @@ -98,7 +99,7 @@ public Boundedness getBoundedness() {
@Override
public SourceReader<SeaTunnelRow, TiDBSourceSplit> createReader(SourceReader.Context context)
throws Exception {
return null;
return new TiDBSourceReader(context, config);
}

/**
Expand Down

0 comments on commit 5b386bb

Please sign in to comment.