task.start(taskConfigs.get(0)); connectorCallback.ifPresent(ConnectorCallback::taskStarted);
/** * Start the worker. * * @return itself */ public SourceThread start() { try { task.start(config); running.set(true); } catch (Throwable t) { LOGGER.error("Unable to start task " + task.getClass().getCanonicalName(), t); try { task.stop(); } catch (Throwable tt) { //swallow } throw t; } return this; }
sourceTask.start(stringConfig);
try { task.initialize(new WorkerSourceTaskContext(offsetReader, this, configState)); task.start(taskConfig); log.info("{} Source task finished initialization and start", this); synchronized (this) {