changes to FHRConsumer to accept batchsize param