Adding a way to specify the max batch size through Configuration

yes