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

Pass in the Time object into OffsetManager

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0.1
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: