forked from apache/kafka
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LI-HOTFIX] Add metric to sample the age of consumed data (#415)
TICKET = N/A LI_DESCRIPTION = For SKU tiering design, it's useful to know the age of consumed data. However, if we simply record the age of all consumed batches, it means the consumed data must be loaded into user space memory, which defeats the purpose of the kernel TLS work. Thus, instead of recording the age of all consumed batches, we run a sampling of the consumers' Fetch requests (with a default ratio of 0.01). EXIT_CRITERIA = N/A
- Loading branch information
Showing
3 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters