use of org.apache.kafka.connect.runtime.HerderConnectorContext in project kafka by apache.
the class StandaloneHerder method startConnector.
private void startConnector(String connName, Callback<TargetState> onStart) {
Map<String, String> connConfigs = configState.connectorConfig(connName);
TargetState targetState = configState.targetState(connName);
worker.startConnector(connName, connConfigs, new HerderConnectorContext(this, connName), this, targetState, onStart);
}
Aggregations