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