private void addConnector(@Nullable String catalogName, String connectorId, Connector connector)
{
ConnectorMetadata connectorMetadata = connector.getService(ConnectorMetadata.class);
checkState(connectorMetadata != null, "Connector %s can not provide metadata", connectorId);
ConnectorSplitManager connectorSplitManager = connector.getService(ConnectorSplitManager.class);
checkState(connectorSplitManager != null, "Connector %s does not have a split manager", connectorId);
ConnectorDataStreamProvider connectorDataStreamProvider = connector.getService(ConnectorDataStreamProvider.class);
if (connectorDataStreamProvider == null) {
ConnectorRecordSetProvider connectorRecordSetProvider = connector.getService(ConnectorRecordSetProvider.class);