[Kafka] How to enable Kafka.consumer monitoring indicators

Insert picture description here

1 Overview

I saw information about consumer groups in jmx on the Internet. As shown in the picture below, there are
Insert picture description here
normal red ones, but mine do not. My version of Kafka is 0.10.0. At first I thought it was a version problem.

Checked the source code and found that there is already relevant information in 0.10

Insert picture description here

Then in the flink interface monitoring, you can see that the relevant indicators are
Insert picture description here
indeed turned on, but they cannot be found.

Guess you like

Origin blog.csdn.net/qq_21383435/article/details/111033004