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

Kafka broker lag metrics is more than 0, but no partitions are under replicated

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.0
    • Fix Version/s: None
    • Component/s: metrics
    • Labels:
      None

      Description

      Hi,

      I just upgraded Kafka from 1.1.1 to 2.1.0 and

      kafka.server:type=ReplicaFetcherManager,name=MaxLag,clientId=Replica
      

      shows billions of lag, but no partition is under replicated.

      kafka.server:type=FetcherLagMetrics,name=ConsumerLag,clientId=ReplicaFetcherThread-0-2,topic=topicname,partition=1
      

      shows 0 or - I guess - the offset as lag, depending on when I display the value.

      I attached a video demonstrating the problem.

        Attachments

        1. 2018-12-13 17-13-34.flv
          141 kB
          Mathias Kub

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              makubi Mathias Kub
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: