class Kafka::Producer::Statistics
- Kafka::Producer::Statistics
- Reference
- Object
Defined in:
kafka/producer/statistics.crClass Method Summary
-
.callback(file_path : String)
Returns a callback to be triggered every statistics.interval.ms (configured separately)
- .file
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.