// Build an easy batch engine
EasyBatchEngine easyBatchEngine = new EasyBatchEngineBuilder()
.registerRecordReader(new JdbcRecordReader(connection, "select * from customer"))
.registerRecordMapper(new CustomerMapper())
.registerRecordProcessor(new CustomerProcessor())
.build();
// Run easy batch engine
EasyBatchReport easyBatchReport = easyBatchEngine.call();
System.out.println(easyBatchReport);