pl.allegro.tech.hermes.consumers.config.GooglePubSubCompressorProperties 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.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