Skip to content

Kafka Consumer

Supported KafkaConsumer version and how the Component Agent collects its metrics over JMX.

1 min read Updated SS

Supported Components and Versions#

LAYER COMPONENT VERSION
Queue KafkaConsumer 2.2.0

Monitoring Strategies for Components#

Metrics’ collection is done using JMX. Once JMX is enabled, HEAL’s Component Agent will source metrics from Kafka via the JMX port and push the metrics to HEAL’s Ingestion API layer.

KPIs collected#

Component Name kpi_name kpi_identifier KpiDescription Units
KafkaConsumer Records Lag Max kafka_records-lag-max##@@##records-lag-max 'Maximum number of messages consumer is behind producer, either for a specific partition or across all partitions on the client' Count
KafkaConsumer Bytes Consumed Rate kafka_bytes-consumed-rate##@@##bytes-consumed-rate Average number of bytes consumed per second for a specific topic or across all topics Bytes
KafkaConsumer Records Consumed Rate kafka_records-consumed-rate##@@##records-consumed-rate Average number of records consumed per second for a specific topic or across all topics Count
KafkaConsumer Fetch Rate kafka_fetch-rate##@@##fetch-rate Number of fetch requests per second from the consumer Milliseconds
KafkaConsumer Total Daemon Threads DaemonThreadCount The total number of threads available in a process. Daemon threads include started and alive threads too. Count
KafkaConsumer TotalPeakThreads PeakThreadCount Total number of currently running threads Count
KafkaConsumer Total Live Threads ThreadCount The total number of threads that are running. A thread automatically expires once it completes its execution. Count
KafkaConsumer Thread Count ThreadCount Total number of threads currently running in the system. Count
KafkaConsumer Total Started Threads TotalStartedThreadCount Total number of threads that have been started since the application started. Count
KafkaConsumer Heap Memory Usage HeapMemoryUsage-used Total amount of heap memory being used by the application. Bytes
KafkaConsumer Max NonHeap Memory NonHeapMemoryUsage-committed the maximum amount of non-heap memory used by the HEAL Appnomic software. Kilobytes
KafkaConsumer Max Heap Memory HeapMemoryUsage-committed the maximum amount of heap memory used by the HEAL Appnomic software. Kilobytes
KafkaConsumer NonHeap Memory Usage NonHeapMemoryUsage-used Current Non-heap memory usage (in MB) of the server. Bytes
KafkaConsumer Process CPU Load ProcessCpuLoad The percentage of CPU usage by the process running the server. Percentage
KafkaConsumer Collection Count CollectionCount Total number of collections that have occurred. Count
KafkaConsumer Collection Time CollectionTime Approximate accumulated collection elapsed time in milliseconds. Milliseconds