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; }