public void stopRunningImpl( StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface ) throws KettleException { super.stopRunning( stepMetaInterface, stepDataInterface ); }
@Override public void stopRunning( StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface ) throws KettleException { stopMqttClient(); super.stopRunning( stepMetaInterface, stepDataInterface ); }
@Override public void stopRunning( StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface ) throws KettleException { if ( !safeStopped.get() ) { subtransExecutor.stop(); } if ( source != null ) { source.close(); } super.stopRunning( stepMetaInterface, stepDataInterface ); }
public void stopRunning(StepMetaInterface smi, StepDataInterface sdi) throws KettleException { KafkaConsumerData data = (KafkaConsumerData) sdi; data.consumer.shutdown(); data.canceled = true; super.stopRunning(smi, sdi); } }