Hi !
First of all thanks for this nice and useful framework !
I would like to understand why does a Job fails/stops when the reader cannot read the next record with RecordReader::readNextRecord() in default JobImpl ?
Don't you think this is a strange behavior (or at least not very flexible) to stop the job only if a single record cannot be retrieved among many other valid ones ?
What do you think if current behavior is activated for strict mode only otherwise it continues to loop
you would have somthing like this:
//read next record
Record currentRecord;
try {
currentRecord = readNextRecord();
recordCount++;
} catch (RecordReadingException e) {
eventManager.fireOnRecordReadingException(e);
if (parameters.isStrictMode()){
return report;
}else{
continue;
}
}
Thanks !
Hi !
First of all thanks for this nice and useful framework !
I would like to understand why does a Job fails/stops when the reader cannot read the next record with RecordReader::readNextRecord() in default JobImpl ?
Don't you think this is a strange behavior (or at least not very flexible) to stop the job only if a single record cannot be retrieved among many other valid ones ?
What do you think if current behavior is activated for strict mode only otherwise it continues to loop
you would have somthing like this:
Thanks !