allow the batch size to be overriden per resource