This PR makes sure that in DLQ mode, Nakadi sends only a single batch of one event and only uptil dead letter offset.
Description
Problems:
In DLQ mode, Nakadi sends single event batches but doesnt wait for commit for the sent event and sends more single event batches until it reaches configured batch size during stream connection.
In DLQ mode, when consumer commits a single batch event offset, Nakadi sends more single event batches than expected dead letter offset (due to flushes).
One-line summary
This PR makes sure that in DLQ mode, Nakadi sends only a single batch of one event and only uptil dead letter offset.
Description
Problems: