Quantcast
Channel: Kafka Timeline
Viewing all articles
Browse latest Browse all 1519

Starting KafkaMetricsReporter from Kafka Consumer/Producer

$
0
0
In ProducerPerformance class we use CSVMetricsReporter for metrics
reporting.
Which I think is actually started with the help of below function:
KafkaMetricsReporter.startReporters(verifiableProps)

Similarly I wrote my own producer and I have a custom implementation of
KafkaMetricsReporter.
But to use the reporter on client side i must start it first using
KafkaMetricsReporter.startReporters function.

But its not possible since I dont have access to `startReporters` in my
Producer class.
Is there any other way to start the reporters from client side?

Viewing all articles
Browse latest Browse all 1519

Trending Articles