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.
* cherry pick of: fc5f6b0 MINOR: Add Timer to simplify timeout bookkeeping and use it in the consumer (apache#5087) We currently do a lot of bookkeeping for timeouts which is both error-prone and distracting. This patch adds a new `Timer` class to simplify this logic and control unnecessary calls to system time. In particular, this helps with nested timeout operations. The consumer has been updated to use the new class. Reviewers: Ismael Juma <[email protected]>, Guozhang Wang <[email protected]> * Restore sensor functionality that was removed from patch.
- Loading branch information
1 parent
d2c093b
commit eae1c4c
Showing
20 changed files
with
924 additions
and
687 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
Oops, something went wrong.