Some databases can't handle very large batch sizes. If input rate is high, the batch which is created between a window could be very high. There should be a way to configure max batch size.