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

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

There is a newer version: 2.10.0
Show newest version
package pl.allegro.tech.hermes.consumers.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "consumer.google.pubsub.compressor")
public class GooglePubSubCompressorProperties {

    private Boolean enabled = false;

    private String compressionLevel = "high";

    private Long compressionThresholdBytes = 400L;

    public Boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public String getCompressionLevel() {
        return compressionLevel;
    }

    public void setCompressionLevel(String compressionLevel) {
        this.compressionLevel = compressionLevel;
    }

    public Long getCompressionThresholdBytes() {
        return compressionThresholdBytes;
    }

    public void setCompressionThresholdBytes(Long compressionThresholdBytes) {
        this.compressionThresholdBytes = compressionThresholdBytes;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy