Needed the possiblity to restart reading from the start of the que, and when the start offset is not zero then i just returns an empty set. So it needs to be initialized with the first available offset. A bit unsure how to write a good test for it thou.
Needed the possiblity to restart reading from the start of the que, and when the start offset is not zero then i just returns an empty set. So it needs to be initialized with the first available offset. A bit unsure how to write a good test for it thou.