class Kafka::Producer::Statistics

Defined in:

kafka/producer/statistics.cr

Class Method Summary

Class Method Detail

def self.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.


[View source]
def self.file #

[View source]