Guozhang Wang created KAFKA-2911:
------------------------------------
Summary: Replace Utils.sleep() with Time.sleep() whenever possible
Key: KAFKA-2911
URL: https://issues.apache.org/jira/browse/KAFKA-2911
Project: Kafka
Issue Type: Bug
Reporter: Guozhang Wang
Fix For: 0.9.1.0
In our Java clients we have a mixed usage of {code}Utils.sleep(){code} and
{code}Time.sleep(){code}. We should use the latter case where possible, since
it allows us to take advantage of MockTime in test cases.
We can make a pass over the code to see whether any uses of Utils.sleep can be
replaced.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)