示例#1
0
 public FetcherLagMetrics(ClientIdBrokerTopicPartition metricId)
 {
     MetersFactory.NewGauge(metricId + "-ConsumerLag", () => this.lagVal.Get());
 }
 public FetcherLagMetrics(ClientIdBrokerTopicPartition metricId)
 {
     MetersFactory.NewGauge(metricId + "-ConsumerLag", () => this.lagVal.Get());
 }
 protected bool Equals(ClientIdBrokerTopicPartition other)
 {
     return this.ClientId == other.ClientId && this.BrokerInfo == other.BrokerInfo && this.Topic == other.Topic && this.PartitonId == other.PartitonId;
 }