Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-15601 Client metrics and observability
  3. KAFKA-15813

Improve implementation of client instance cache

    XMLWordPrintableJSON

Details

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

    Description

      In the current implementation the ClientMetricsManager uses LRU cache but we should alos support expiring stale clients i.e. client which haven't reported metrics for a while.

       

      The KIP mentions: This client instance specific state is maintained in broker memory up to MAX(60*1000, PushIntervalMs * 3) milliseconds and is used to enforce the push interval rate-limiting. There is no persistence of client instance metrics state across broker restarts or between brokers 

      Attachments

        Issue Links

          Activity

            People

              apoorvmittal10 Apoorv Mittal
              apoorvmittal10 Apoorv Mittal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: