redpanda-data / redpanda-data/console
Message count for partitioned topics off by one.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 432
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 40
Description
I created a topic with 30 partitions and produced 1,001 records. (Yes, I also had an off-by-one issue, too 🙃)
Since the highwater mark is 1 past the last offset, I think Console is miscounting 1 message per partition, hence 1,031 messages instead of the expected 1,001 in my case.
This is with Console v2.3.5.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the count using a topic with 30 partitions and 1,001 records in Console v2.3.5, then trace the topic message-count calculation for how partition highwater marks are combined. Done means the Console reports 1,001 messages rather than 1,031 for this case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kafka, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100