I suspect this issue is related to log segment boundaries. When dealing
with non-contiguous offsets that span across segments—for example:
- Segment 1 contains offsets [0, 1, 2]
- Segment 2 contains offsets [4, 6, 7]

The observed behavior is as follows:
- seek(3) + poll() returns empty data
- seek(5) + poll() successfully returns data

Is this a bug? My use case requires consuming from a specific position
(e.g., seek(msg.offset + 1)), but with non-contiguous offsets, the scenario
described above may occur.

[image: d.jpg]
[image: t.jpg]

Reply via email to