Skip to main content

record_kafka_command_processing

Function record_kafka_command_processing 

Source
pub fn record_kafka_command_processing(elapsed: Duration)
Expand description

业务作用:记录一次 Kafka Saga command handler 的单调耗时。

参数说明:elapsed 是从 transport 门禁到参与方事务结束的单调耗时。

返回:无;次数原子递增,耗时使用饱和累计。