if (processorElement != null) {
itemProcessor = jobContext.createArtifact(processorElement.getRef(), null, processorElement.getProperties(), batchContext);
}
if (stepRunner.collectorDataQueue != null) {
Collector collectorConfig = batchContext.getStep().getPartition().getCollector();
if (collectorConfig != null) {
collector = jobContext.createArtifact(collectorConfig.getRef(), null, collectorConfig.getProperties(), batchContext);
}
}
String attrVal = chunk.getCheckpointPolicy();
if (attrVal == null || attrVal.equals("item")) {