mirror of
https://github.com/apache/nifi.git
synced 2025-03-09 02:50:14 +00:00
parent
0841f14c18
commit
50010fb340
@ -28,6 +28,7 @@ import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.apache.nifi.annotation.lifecycle.OnStopped;
|
||||
import org.apache.nifi.components.AllowableValue;
|
||||
import org.apache.nifi.components.PropertyDescriptor;
|
||||
import org.apache.nifi.flowfile.FlowFile;
|
||||
@ -335,4 +336,9 @@ public abstract class AbstractDynamoDBProcessor extends AbstractAWSCredentialsPr
|
||||
return isConsistent;
|
||||
|
||||
}
|
||||
|
||||
@OnStopped
|
||||
public void onStopped() {
|
||||
this.dynamoDB = null;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user