Add external batch support to Raptor connector