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

Refactor KafkaApis.handleListOffsetRequest

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Abandoned
    • None
    • None
    • None
    • None

    Description

      This code path is just really bad.

      All the business logic is in LogManager and Log.

      Also the implementation is really funky.

      LogManager already supports getLog and log allows you to get the segment list so there shouldn't be any logic except in KafkaApis.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jkreps Jay Kreps
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: