pl.allegro.tech.hermes.consumers.config.SenderAsyncTimeoutProperties 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;
@ConfigurationProperties(prefix = "consumer.sender.async.timeout")
public class SenderAsyncTimeoutProperties {
private int milliseconds = 5_000;
private int threadPoolSize = 32;
private boolean threadPoolMonitoringEnabled = false;
public int getMilliseconds() {
return milliseconds;
}
public void setMilliseconds(int milliseconds) {
this.milliseconds = milliseconds;
}
public int getThreadPoolSize() {
return threadPoolSize;
}
public void setThreadPoolSize(int threadPoolSize) {
this.threadPoolSize = threadPoolSize;
}
public boolean isThreadPoolMonitoringEnabled() {
return threadPoolMonitoringEnabled;
}
public void setThreadPoolMonitoringEnabled(boolean threadPoolMonitoringEnabled) {
this.threadPoolMonitoringEnabled = threadPoolMonitoringEnabled;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy