pl.allegro.tech.hermes.consumers.config.BatchProperties 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.batch")
public class BatchProperties {
private int poolableSize = 1024;
private int maxPoolSize = 64 * 1024 * 1024;
public int getPoolableSize() {
return poolableSize;
}
public void setPoolableSize(int poolableSize) {
this.poolableSize = poolableSize;
}
public int getMaxPoolSize() {
return maxPoolSize;
}
public void setMaxPoolSize(int maxPoolSize) {
this.maxPoolSize = maxPoolSize;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy