18.7. consumer MBeans
Kafka consumer 应用程序中包括 Mbeans,包括 Kafka Streams applications 和 Kafka Connect with sink 连接器。
消费者指标
属性 | 描述 |
---|---|
connection-close-rate | 窗口中的每秒关闭连接。 |
connection-close-total | 窗口中关闭连接总数。 |
connection-count | 当前活动连接数。 |
connection-creation-rate | 窗口中每秒建立的新连接。 |
connection-creation-total | 在窗口中建立的新连接总数。 |
failed-authentication-rate | 每秒身份验证失败的连接。 |
failed-authentication-total | 失败身份验证的连接总数。 |
failed-reauthentication-rate | 每秒重试身份验证失败的连接数。 |
failed-reauthentication-total | 重新身份验证失败的连接总数。 |
incoming-byte-rate | 所有套接字都读取字节数/秒。 |
incoming-byte-total | 所有套接字读取的总字节。 |
io-ratio | 减少 I/O 线程花费 I/O 的时间。 |
io-time-ns-avg | 每个选择调用的 I/O 的平均时长(以纳秒为单位)。 |
io-time-ns-total | I/O 线程用纳秒表示 I/O 的总时间。 |
io-wait-ratio | I/O 线程等待花费的时间很小。 |
io-wait-time-ns-avg | I/O 线程等待套接字准备好以纳秒表示读取或写入的时间平均长度。 |
io-wait-time-ns-total | I/O 线程用纳秒内等待的总时间。 |
io-waittime-total | 弃用了 I/O 线程在纳秒内等待的总时间。替换为 io-wait-time-ns-total。 |
iotime-total | 弃用了 I/O 线程在纳秒内花费 I/O 的总时间。替换为 io-time-ns-total。 |
network-io-rate | 每秒所有连接上的网络操作平均数量(读取或写入)。 |
network-io-total | 所有连接上的网络操作总数(读取或写入)。 |
outgoing-byte-rate | 每秒发送的平均传出字节数到所有服务器。 |
outgoing-byte-total | 发送到所有服务器的传出字节数。 |
reauthentication-latency-avg | ms 中因为重新身份验证而观察的平均延迟。 |
reauthentication-latency-max | ms 中因为重新身份验证而观察到的最大延迟。 |
request-rate | 每秒发送的请求平均数量。 |
request-size-avg | 窗口中所有请求的平均大小。 |
request-size-max | 窗口中发送的任何请求的最大大小。 |
request-total | 发送的请求总数。 |
response-rate | 每秒收到的响应数。 |
response-total | 收到的响应总数。 |
select-rate | 用于新 I/O 执行的 I/O 层检查的次数。 |
select-total | 要执行的新 I/O 层检查的次数总数。 |
successful-authentication-no-reauth-total | 由较旧且2.2.0 SASL 成功验证的、不支持重新身份验证的客户端的连接的总数。只能是非零。 |
successful-authentication-rate | 每秒使用 SASL 或 SSL 进行身份验证的每秒连接。 |
successful-authentication-total | 使用 SASL 或 SSL 成功验证连接总数。 |
successful-reauthentication-rate | 每秒使用 SASL 重新验证的连接。 |
successful-reauthentication-total | 使用 SASL 成功重新验证连接总数。 |
有关代理连接的消费者指标
属性 | 描述 |
---|---|
incoming-byte-rate | 节点每秒收到的字节数。 |
incoming-byte-total | 为节点接收的字节总数。 |
outgoing-byte-rate | 节点每秒发送的平均传出字节数。 |
outgoing-byte-total | 为节点发送的传出字节总数。 |
request-latency-avg | 节点的平均请求延迟(ms)。 |
request-latency-max | 节点的 ms 中的最大请求延迟。 |
request-rate | 节点每秒发送的请求平均数量。 |
request-size-avg | 节点的窗口中所有请求的平均大小。 |
request-size-max | 在窗口中为节点发送的任何请求的最大大小。 |
request-total | 为节点发送的请求总数。 |
response-rate | 节点每秒收到的响应数。 |
response-total | 为节点接收的总响应。 |
消费者组指标
属性 | 描述 |
---|---|
assigned-partitions | 当前分配给这个消费者的分区数量。 |
commit-latency-avg | 提交请求的平均时间。 |
commit-latency-max | 提交请求执行的最大时间。 |
commit-rate | 每秒提交调用数。 |
commit-total | 提交调用总数。 |
failed-rebalance-rate-per-hour | 失败的组重新平衡事件数每小时。 |
failed-rebalance-total | 失败组重新平衡的总数。 |
heartbeat-rate | 每秒心跳平均数。 |
heartbeat-response-time-max | 接收对心跳请求的响应的最大时间。 |
heartbeat-total | 心跳总数。 |
join-rate | 每秒加入的组数量。 |
join-time-avg | 重新加入组的平均时间。 |
join-time-max | 重新加入组所花费的最长时间。 |
join-total | 组加入的总数。 |
last-heartbeat-seconds-ago | 自最后一次控制器心跳以来的秒数。 |
last-rebalance-seconds-ago | 最后一次重新平衡事件后的秒数。 |
partitions-assigned-latency-avg | on-partitions 分配的重新平衡侦听器回调的平均时间。 |
partitions-assigned-latency-max | on-partitions-assigned rebalance listener 回调所花费的最大时间。 |
partitions-lost-latency-avg | on-partitions-lost 重新平衡侦听器回调的平均时间。 |
partitions-lost-latency-max | on-partitions-lost 重新平衡监听器回调所花费的最大时间。 |
partitions-revoked-latency-avg | on-partitions-revoked rebalance listener 回调的平均时间。 |
partitions-revoked-latency-max | on-partitions-revoked 重新平衡监听器执行的最大时间。 |
rebalance-latency-avg | 组重新平衡的平均时间。 |
rebalance-latency-max | 组重新平衡所需最长时间。 |
rebalance-latency-total | 到目前为止,组重新平衡所花费的总时间。 |
rebalance-rate-per-hour | 每小时参与的组重新平衡数量。 |
rebalance-total | 参与的组重新平衡总数。 |
sync-rate | 每秒组同步数量。 |
sync-time-avg | 组同步的平均时间。 |
sync-time-max | 组同步所需最长时间。 |
sync-total | 组同步总数。 |
consumer 获取器指标
属性 | 描述 |
---|---|
bytes-consumed-rate | 每秒消耗的字节数。 |
bytes-consumed-total | 消耗的字节数。 |
fetch-latency-avg | 获取请求的平均时间。 |
fetch-latency-max | 任何 fetch 请求所花费的最长时间。 |
fetch-rate | 每秒获取请求数。 |
fetch-size-avg | 每个请求获取的平均字节数。 |
fetch-size-max | 每个请求获取的最大字节数。 |
fetch-throttle-time-avg | ms 中平均节流时间。 |
fetch-throttle-time-max | ms 中最大节流时间。 |
fetch-total | 获取请求的总数。 |
records-consumed-rate | 每秒消耗的记录的平均记录数。 |
records-consumed-total | 所消耗的记录总数。 |
records-lag-max | 此窗口中任意分区的记录数上限。 |
records-lead-min | 在此窗口中任意分区的记录数量最少的潜在客户。 |
records-per-request-avg | 每个请求的平均记录数。 |
用户在主题级别上获取指标
属性 | 描述 |
---|---|
bytes-consumed-rate | 主题每秒使用的平均字节数。 |
bytes-consumed-total | 主题使用的字节数。 |
fetch-size-avg | 主题每个请求获取的平均字节数。 |
fetch-size-max | 主题每个请求获取的最大字节数。 |
records-consumed-rate | 主题每秒消耗的记录的平均记录数。 |
records-consumed-total | 主题所消耗的记录总数。 |
records-per-request-avg | 每个主题请求的平均记录数。 |
用户在分区级别上获取指标
属性 | 描述 |
---|---|
preferred-read-replica | 分区的当前读取副本,如果从 leader 读取,则为 -1。 |
records-lag | 分区的最新 lag。 |
records-lag-avg | 分区的平均计数。 |
records-lag-max | 分区的最大 lag。 |
records-lead | 分区的最新领导。 |
records-lead-avg | 分区的平均潜在客户。 |
records-lead-min | 分区的最小值。 |