{"id":7523,"date":"2022-10-14T12:38:54","date_gmt":"2022-10-14T10:38:54","guid":{"rendered":"https:\/\/pandorafms.com\/library\/?p=7523"},"modified":"2023-01-10T10:55:33","modified_gmt":"2023-01-10T09:55:33","slug":"kafka-monitoring","status":"publish","type":"post","link":"https:\/\/pandorafms.com\/library\/kafka-monitoring\/","title":{"rendered":"Kafka monitoring                                                   <img src=\"https:\/\/pandorafms.com\/library\/wp-content\/uploads\/2017\/12\/icono-modulo-enterprise.png\" alt=\"enterprise\" \/>"},"content":{"rendered":"<p><strong>Ver.<\/strong> 11-10-2022<\/p>\n<p>Plugin gets metrics on producer and consumer performance.<\/p>\n<p>This is ported from the Java producer and Java consumer.<\/p>\n<p><strong>Type:<\/strong> Server plug-in<\/p>\n<p><strong>Modules generated by the plugin<\/strong><\/p>\n<p id=\"bkmrk-%C2%A0producer\"><strong><em>\u00a0Producer<\/em><\/strong><\/p>\n<p id=\"bkmrk-kafka-metrics-count\"><em>kafka-metrics-count<\/em><\/p>\n<table id=\"bkmrk-count\" border=\"1\">\n<tbody>\n<tr>\n<td>count<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p id=\"bkmrk-producer-metrics\"><em>producer-metrics<\/em><\/p>\n<table id=\"bkmrk-connection-close-rat\" border=\"1\">\n<tbody>\n<tr>\n<td>connection-close-rate<\/td>\n<\/tr>\n<tr>\n<td>connection-creation-rate<\/td>\n<\/tr>\n<tr>\n<td>select-rate<\/td>\n<\/tr>\n<tr>\n<td>io-wait-time-ns-avg<\/td>\n<\/tr>\n<tr>\n<td>io-wait-ratio<\/td>\n<\/tr>\n<tr>\n<td>io-time-ns-avg<\/td>\n<\/tr>\n<tr>\n<td>io-ratio<\/td>\n<\/tr>\n<tr>\n<td>connection-count<\/td>\n<\/tr>\n<tr>\n<td>network-io-rate<\/td>\n<\/tr>\n<tr>\n<td>outgoing-byte-rate<\/td>\n<\/tr>\n<tr>\n<td>request-rate<\/td>\n<\/tr>\n<tr>\n<td>request-size-avg<\/td>\n<\/tr>\n<tr>\n<td>request-size-max<\/td>\n<\/tr>\n<tr>\n<td>incoming-byte-rate<\/td>\n<\/tr>\n<tr>\n<td>response-rate<\/td>\n<\/tr>\n<tr>\n<td>request-latency-avg<\/td>\n<\/tr>\n<tr>\n<td>request-latency-max<\/td>\n<\/tr>\n<tr>\n<td>bufferpool-wait-ratio<\/td>\n<\/tr>\n<tr>\n<td>batch-size-avg<\/td>\n<\/tr>\n<tr>\n<td>batch-size-max<\/td>\n<\/tr>\n<tr>\n<td>compression-rate-avg<\/td>\n<\/tr>\n<tr>\n<td>record-queue-time-avg<\/td>\n<\/tr>\n<tr>\n<td>record-queue-time-max<\/td>\n<\/tr>\n<tr>\n<td>produce-throttle-time-avg<\/td>\n<\/tr>\n<tr>\n<td>produce-throttle-time-max<\/td>\n<\/tr>\n<tr>\n<td>record-send-rate<\/td>\n<\/tr>\n<tr>\n<td>records-per-request-avg<\/td>\n<\/tr>\n<tr>\n<td>byte-rate<\/td>\n<\/tr>\n<tr>\n<td>record-retry-rate<\/td>\n<\/tr>\n<tr>\n<td>record-error-rate<\/td>\n<\/tr>\n<tr>\n<td>record-size-max<\/td>\n<\/tr>\n<tr>\n<td>record-size-avg<\/td>\n<\/tr>\n<tr>\n<td>requests-in-flight<\/td>\n<\/tr>\n<tr>\n<td>metadata-age<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p id=\"bkmrk-producer-node-metric\"><em>producer-node-metrics.node-&lt;node&gt;<\/em><\/p>\n<table id=\"bkmrk-outgoing-byte-rate-r\" border=\"1\">\n<tbody>\n<tr>\n<td>outgoing-byte-rate<\/td>\n<\/tr>\n<tr>\n<td>request-rate<\/td>\n<\/tr>\n<tr>\n<td>request-size-avg<\/td>\n<\/tr>\n<tr>\n<td>request-size-max<\/td>\n<\/tr>\n<tr>\n<td>incoming-byte-rate<\/td>\n<\/tr>\n<tr>\n<td>response-rate<\/td>\n<\/tr>\n<tr>\n<td>request-latency-avg<\/td>\n<\/tr>\n<tr>\n<td>request-latency-max<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p id=\"bkmrk-consumer\"><strong><em>Consumer<\/em><\/strong><\/p>\n<p id=\"bkmrk-kafka-metrics-count-0\"><em>kafka-metrics-count<\/em><\/p>\n<table id=\"bkmrk-count-0\" border=\"1\">\n<tbody>\n<tr>\n<td>count<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p id=\"bkmrk-consumer-metrics\"><em>consumer-metrics<\/em><\/p>\n<table id=\"bkmrk-connection-close-rat-0\" border=\"1\">\n<tbody>\n<tr>\n<td>connection-close-rate<\/td>\n<\/tr>\n<tr>\n<td>connection-creation-rate<\/td>\n<\/tr>\n<tr>\n<td>select-rate<\/td>\n<\/tr>\n<tr>\n<td>io-wait-time-ns-avg<\/td>\n<\/tr>\n<tr>\n<td>io-wait-ratio<\/td>\n<\/tr>\n<tr>\n<td>io-time-ns-avg<\/td>\n<\/tr>\n<tr>\n<td>io-ratio<\/td>\n<\/tr>\n<tr>\n<td>connection-count<\/td>\n<\/tr>\n<tr>\n<td>network-io-rate<\/td>\n<\/tr>\n<tr>\n<td>outgoing-byte-rate<\/td>\n<\/tr>\n<tr>\n<td>request-rate<\/td>\n<\/tr>\n<tr>\n<td>request-size-avg<\/td>\n<\/tr>\n<tr>\n<td>request-size-max<\/td>\n<\/tr>\n<tr>\n<td>incoming-byte-rate<\/td>\n<\/tr>\n<tr>\n<td>response-rate<\/td>\n<\/tr>\n<tr>\n<td>request-latency-avg<\/td>\n<\/tr>\n<tr>\n<td>request-latency-max<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p id=\"bkmrk-consumer-node-metric\"><em>consumer-node-metrics.node-&lt;node&gt;<\/em><\/p>\n<table id=\"bkmrk-outgoing-byte-rate-r-0\" border=\"1\">\n<tbody>\n<tr>\n<td>outgoing-byte-rate<\/td>\n<\/tr>\n<tr>\n<td>request-rate<\/td>\n<\/tr>\n<tr>\n<td>request-size-avg<\/td>\n<\/tr>\n<tr>\n<td>request-size-max<\/td>\n<\/tr>\n<tr>\n<td>incoming-byte-rate<\/td>\n<\/tr>\n<tr>\n<td>response-rate<\/td>\n<\/tr>\n<tr>\n<td>request-latency-avg<\/td>\n<\/tr>\n<tr>\n<td>request-latency-max<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p id=\"bkmrk-consumer-fetch-manag\"><em>consumer-fetch-manager-metrics<\/em><\/p>\n<table id=\"bkmrk-fetch-size-avg-fetch\" border=\"1\">\n<tbody>\n<tr>\n<td>fetch-size-avg<\/td>\n<\/tr>\n<tr>\n<td>fetch-size-max<\/td>\n<\/tr>\n<tr>\n<td>bytes-consumed-rate<\/td>\n<\/tr>\n<tr>\n<td>records-per-request-avg<\/td>\n<\/tr>\n<tr>\n<td>records-consumed-rate<\/td>\n<\/tr>\n<tr>\n<td>fetch-latency-avg<\/td>\n<\/tr>\n<tr>\n<td>fetch-latency-max<\/td>\n<\/tr>\n<tr>\n<td>fetch-rate<\/td>\n<\/tr>\n<tr>\n<td>records-lag-max<\/td>\n<\/tr>\n<tr>\n<td>fetch-throttle-time-avg<\/td>\n<\/tr>\n<tr>\n<td>fetch-throttle-time-max<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p id=\"bkmrk-consumer-coordinator\"><em>consumer-coordinator-metrics<\/em><\/p>\n<table id=\"bkmrk-heartbeat-response-t\" border=\"1\">\n<tbody>\n<tr>\n<td>heartbeat-response-time-max<\/td>\n<\/tr>\n<tr>\n<td>heartbeat-rate<\/td>\n<\/tr>\n<tr>\n<td>join-time-avg<\/td>\n<\/tr>\n<tr>\n<td>join-time-max<\/td>\n<\/tr>\n<tr>\n<td>join-rate<\/td>\n<\/tr>\n<tr>\n<td>sync-time-avg<\/td>\n<\/tr>\n<tr>\n<td>sync-time-max<\/td>\n<\/tr>\n<tr>\n<td>sync-rate<\/td>\n<\/tr>\n<tr>\n<td>last-heartbeat-seconds-ago<\/td>\n<\/tr>\n<tr>\n<td>commit-latency-avg<\/td>\n<\/tr>\n<tr>\n<td>commit-latency-max<\/td>\n<\/tr>\n<tr>\n<td>commit-rate<\/td>\n<\/tr>\n<tr>\n<td>assigned-partitions<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p id=\"bkmrk-otros\"><strong><em>Others<\/em><\/strong><\/p>\n<table id=\"bkmrk-topics-obtiene-todos\" border=\"1\">\n<tbody>\n<tr>\n<td>\n<div>\n<div>topics<\/div>\n<\/div>\n<\/td>\n<td>Gets all topics that the user is authorized to view. This will always issue a remote call to the cluster to get the latest information.<\/td>\n<\/tr>\n<tr>\n<td>\n<div>\n<div>bootstrap_connected<\/div>\n<\/div>\n<\/td>\n<td>Returns True if the bootstrap is connected.<\/td>\n<\/tr>\n<tr>\n<td>\n<div>\n<div>subscriptions<\/div>\n<\/div>\n<\/td>\n<td>Obtain subscription to the current topic.<\/td>\n<\/tr>\n<tr>\n<td>\n<div>\n<div>list_consumer_groups<\/div>\n<\/div>\n<\/td>\n<td>List all consumer groups known to the group.<\/td>\n<\/tr>\n<tr>\n<td>\n<div>\n<div>least_loaded_node<\/div>\n<\/div>\n<\/td>\n<td>It chooses the node with the fewest pending requests, with fallbacks.<\/td>\n<\/tr>\n<tr>\n<td>\n<div>\n<div>in_flight_request_count<\/div>\n<\/div>\n<\/td>\n<td>Flight request count.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><strong>Documentation<\/strong><\/p>\n<p>ES: \u00a0<a href=\"https:\/\/pandorafms.com\/guides\/public\/books\/kafka\" target=\"_blank\" rel=\"noopener\">Kafka ES<\/a><br \/>\nEN: \u00a0<a href=\"https:\/\/pandorafms.com\/guides\/public\/books\/kafka-49a\" target=\"_blank\" rel=\"noopener\">Kafka EN<\/a><br \/>\n<br\/><p class=\"no-enterprise\">Only enterprise users can view the download links.<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ver. 11-10-2022 Plugin gets metrics on producer and consumer performance. This is ported from the Java producer and Java consumer. Type: Server plug-in Modules generated by the plugin \u00a0Producer kafka-metrics-count count producer-metrics connection-close-rate connection-creation-rate select-rate io-wait-time-ns-avg io-wait-ratio io-time-ns-avg io-ratio connection-count network-io-rate outgoing-byte-rate request-rate request-size-avg request-size-max incoming-byte-rate response-rate request-latency-avg request-latency-max bufferpool-wait-ratio batch-size-avg batch-size-max compression-rate-avg record-queue-time-avg record-queue-time-max [&hellip;]<\/p>\n","protected":false},"author":4033,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[5,45],"tags":[189,1108,1107],"_links":{"self":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/7523"}],"collection":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/users\/4033"}],"replies":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/comments?post=7523"}],"version-history":[{"count":0,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/7523\/revisions"}],"wp:attachment":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/media?parent=7523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/categories?post=7523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/tags?post=7523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}