Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
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