pl.allegro.tech.hermes.consumers.config.MetricsProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-consumers Show documentation
Show all versions of hermes-consumers Show documentation
Fast and reliable message broker built on top of Kafka.
package pl.allegro.tech.hermes.consumers.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.time.Duration;
@ConfigurationProperties(prefix = "consumer.metrics.metric-registry")
public class MetricsProperties {
private Duration counterExpireAfterAccess = Duration.ofHours(72);
public Duration getCounterExpireAfterAccess() {
return counterExpireAfterAccess;
}
public void setCounterExpireAfterAccess(Duration counterExpireAfterAccess) {
this.counterExpireAfterAccess = counterExpireAfterAccess;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy