Skip to content

Commit

Permalink
fix(core): remove offset metrics when expired (#2021)
Browse files Browse the repository at this point in the history
Signed-off-by: Shichao Nie <[email protected]>
  • Loading branch information
SCNieh authored Sep 12, 2024
1 parent f5bb7b9 commit af64a71
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,7 @@ private[group] class GroupMetadata(val groupId: String, initialState: GroupState
debug(s"Expired offsets from group '$groupId': ${expiredOffsets.keySet}")

offsets --= expiredOffsets.keySet
expiredOffsets.keySet.foreach(removeOffsetMetric)
expiredOffsets
}

Expand Down

0 comments on commit af64a71

Please sign in to comment.