improve configuration, add read-batch-size