Holes In The Log
A compacted topic holds one partition. The log before the cleaner ran:
| offset | key | value |
|---|---|---|
| 0 | a |
1 |
| 1 | b |
2 |
| 2 | a |
3 |
| 3 | c |
4 |
| 4 | b |
null |
| 5 | a |
5 |
The cleaner has now compacted the entire log. A brand new consumer calls seek(partition, 0) and reads to the end, well inside delete.retention.ms. What does it get?
Sign in to answer questions and track your progress
Sign In