Skip to content

Commit

Permalink
[Fix][Engine] Fix error data sink bug in local engine
Browse files Browse the repository at this point in the history
  • Loading branch information
zixi0825 authored Nov 28, 2023
1 parent 2196102 commit 5da3b38
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,9 @@ public void buildSinkConfigs() throws DataVinesException {
errorDataSinkConfig.setType(SinkType.ERROR_DATA.getDescription());

Map<String, Object> connectorParameterMap = new HashMap<>(JSONUtils.toMap(jobExecutionInfo.getErrorDataStorageParameter(),String.class, Object.class));
ConnectorParameter connectorParameter = jobExecutionParameter.getConnectorParameter();
ConnectorFactory connectorFactory = PluginLoader
.getPluginLoader(ConnectorFactory.class)
.getNewPlugin(connectorParameter.getType());
.getNewPlugin(jobExecutionInfo.getErrorDataStorageType());

if (connectorFactory == null) {
return;
Expand Down

0 comments on commit 5da3b38

Please sign in to comment.