Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-9427

StateRestoreListener.onRestoreEnd should report actual message count

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • streams
    • None

    Description

      StateRestoreListener.onRestoreEnd appears to report the difference between offsets as "totalRestored", which may differ from the actual number of messages restored to a state store. Am assuming this is due to missing offsets in compacted topics. It would be more useful if StateRestoreListener.onRestoreEnd reported the actual count of messages restored (sum of values reported by StateRestoreListener.onBatchRestored). 

      Was asked to create this ticket in Slack thread https://confluentcommunity.slack.com/archives/C48AHTCUQ/p1578956151094200

       

      Attachments

        Activity

          People

            guozhang Guozhang Wang
            cstromberger Chris Stromberger
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: