Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-15857 Introduce LocalLogStartOffset and TieredOffset in OffsetSpec.
  3. KAFKA-16154

Make broker changes to return an offset for LATEST_TIERED_TIMESTAMP

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.9.0
    • None
    • None

    Description

      A broker should start returning offsets when given a timestamp of -5, which signifies a LATEST_TIERED_TIMESTAMP.

      There are 3 cases.

      Tiered Storage is not enabled. In such a situation asking for LATEST_TIERED_TIMESTAMP should always return no offset.

      Tiered Storage is enabled and there is nothing in remote storage. In such a situation the offset returned should be 0.

      Tiered Storage is enabled and there is something in remote storage. In such a situation the offset returned should be the highest offset the broker is aware of.

      Attachments

        Activity

          People

            brandboat Kuan Po Tseng
            christo_lolov Christo Lolov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: