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

Pass in the Time object into OffsetManager

    Details

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

      Description

      We should improve OffsetManager to take in a Time instance as we do for LogManager and ReplicaManager. That way we can advance time with MockTime in test cases.

      Then we can move the testOffsetExpiration case from OffsetCommitTest to OffsetManagerTest.

        Attachments

          Activity

            People

            • Assignee:
              aauradkar Aditya Auradkar
              Reporter:
              guozhang Guozhang Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: