The metrics-reporter is going to have its first release and, despite there are some information about how to configure it on Kafka and related clients on its README, we should document properly how to do that on the bridge by adding some content in the "Configuring metrics" section.
In particular, within the application.properties file of the bridge, it's possible to configure the metrics exporter selectively on each Kafka client (admin, producer, consumer) or on all of them.
In the first case, the metrics reporter configuration needs to be "duplicated" for each client in the following way:
The above configuration uses the clients prefixes kafka.admin, kafka.producer and kafka.consumer to do so.
In the second case, it's really easy to set the metrics reporter configuration in the common kafka. section of the bridge properties:
The metrics-reporter is going to have its first release and, despite there are some information about how to configure it on Kafka and related clients on its README, we should document properly how to do that on the bridge by adding some content in the "Configuring metrics" section. In particular, within the application.properties file of the bridge, it's possible to configure the metrics exporter selectively on each Kafka client (admin, producer, consumer) or on all of them. In the first case, the metrics reporter configuration needs to be "duplicated" for each client in the following way:
The above configuration uses the clients prefixes
kafka.admin
,kafka.producer
andkafka.consumer
to do so. In the second case, it's really easy to set the metrics reporter configuration in the commonkafka.
section of the bridge properties:The above will be applied on all the Kafka clients used within the bridge.