provectus/kafka-ui

Number of messages on Overview page isn't synced properly after topic compaction and doesn't match to number on Messages page

Offen

#3.275 geöffnet am 27.01.2023

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (977 Forks)batch import
good first issuescope/backendstatus/acceptedtype/bug

Repository-Metriken

Stars
 (7.799 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Describe the bug (Actual behavior) There are 2 pages Overview and Messages where the number of a topic messages is shown. After the topic's compaction, the number of messages isn't updated/synced on Overview page. Please have a look at the screenshots below:

Expected behavior Those metrics should be synced as soon as possible and show an up-to-date value. Otherwise, it's confusing 🤔

Set up

Steps to Reproduce

  1. Create a topic with compact cleanup policy
  2. Produce some messages
  3. Have a look at the number of messages there
  4. Wait for topic compaction or trigger it manually
  5. Have a look at the number of messages on Overview and Messages pages. The numbers are not equal.

Screenshots

Additional context

Contributor Guide