errorThreshold.setAction("terminate");
errorHandling.setErrorRateThreshold(errorThreshold);
setErrorHandling(errorHandling);
}
if (getCheckpoint() == null) {
CpeCheckpoint checkpoint = CpeDescriptorFactory.produceCpeCheckpoint();
checkpoint.setBatchSize(1);
checkpoint.setFilePath(CpeDefaultValues.PROCESSOR_CHECKPOINT_FILE);
checkpoint.setFrequency(1000, true);
setCheckpoint(checkpoint);
}
}