class

Kafka::Producer::Statistics

Inherits Reference / Object

Class methods

callback(file_path : String)

Returns a callback to be triggered every statistics.interval.ms (configured separately)

The callback writes the statistics to the given file path.

Source
file
Source