All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.allegro.tech.hermes.consumers.config.BatchProperties Maven / Gradle / Ivy

There is a newer version: 2.8.0
Show newest version
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