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

provide logStartOffset in addition to LogEndOffset metric

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Hello,

      Would it be possible to include a metric to report the minimum message offset for each topic/partition? This would mirror the LogEndOffset which is already provided.

      There's also a Size metric that's provided; however, this gives us the size of a topic/partition in bytes so I'm unable to calculate the Starting/beginning message offset based on the end offset.

      I've attached a patch I used with kafka 0.8.1 to expose this metric.

      Thanks,
      Alex

        Attachments

        1. KAFKA-1425.patch
          0.9 kB
          alexcb
        2. KAFKA-1425.patch
          0.9 kB
          alexcb
        3. KAFKA-1425.patch
          0.9 kB
          alexcb

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alexcb alexcb
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: