"1,foo\n" +
"2,bar";
// Build an easy batch engine
EasyBatchEngine easyBatchEngine = new EasyBatchEngineBuilder()
.registerRecordReader(new StringRecordReader(dataSource))
.registerRecordFilter(new StartsWithStringRecordFilter("#"))
.registerRecordMapper(new DelimitedRecordMapper<Greeting>(Greeting.class, new String[]{"id", "name"}))
.registerRecordProcessor(new GreetingProcessor())
.build();