It is too expensive to send empty batches, so we will keep polling the channel to see if events are available. Each time we poll, it means that we need to increase the maxBatchSize by 1. I realize it is counter-intuitive now that I read the code myself. I will use two variables so it is clearer.