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