Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2911

Replace Utils.sleep() with Time.sleep() whenever possible

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0.0
    • Component/s: None
    • Labels:

      Description

      In our Java clients we have a mixed usage of

      Utils.sleep()

      and

      Time.sleep()

      . 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.

        Attachments

          Activity

            People

            • Assignee:
              hachikuji Jason Gustafson
              Reporter:
              guozhang Guozhang Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: