...
On the broker, the configurations will also be marked as dynamic to allow updates at runtime.
On the broker, the following configs will be defined as followsintroduced:
kafka.metrics.jmx.whitelist=<regular expression of mbeans to expose> (defaults to ".*")
kafka.metrics.jmx.blacklist=<regular expression of mbeans to hide> (defaults to "", takes precedence over the whitelist)
...
To hide log-level metrics LogEndOffset
, LogStartOffset
, and NumLogSegments
, as well as any partition level metrics, except UnderMinIsr
, one could exclude those by specifying the following property in their server.properties
file:
kafka.metrics.jmx.blacklist=(kafka.log:type=Log,name=(LogEndOffset|LogStartOffset|NumLogSegments),.*\
...