diff --git a/src/sinks/azure_blob/config.rs b/src/sinks/azure_blob/config.rs index d494cbf832ce6..11f32900d5b32 100644 --- a/src/sinks/azure_blob/config.rs +++ b/src/sinks/azure_blob/config.rs @@ -143,6 +143,12 @@ pub struct AzureBlobSinkConfig { #[serde(flatten)] pub encoding: EncodingConfigWithFraming, + /// Compression configuration. + /// + /// All compression algorithms use the default compression level unless otherwise specified. + /// + /// Some cloud storage API clients and browsers handle decompression transparently, so + /// depending on how they are accessed, files may not always appear to be compressed. #[configurable(derived)] #[serde(default = "Compression::gzip_default")] pub compression: Compression, diff --git a/src/sinks/gcp/cloud_storage.rs b/src/sinks/gcp/cloud_storage.rs index 5909b0f25d5e2..5e6893efd1fbc 100644 --- a/src/sinks/gcp/cloud_storage.rs +++ b/src/sinks/gcp/cloud_storage.rs @@ -148,6 +148,12 @@ pub struct GcsSinkConfig { #[serde(flatten)] encoding: EncodingConfigWithFraming, + /// Compression configuration. + /// + /// All compression algorithms use the default compression level unless otherwise specified. + /// + /// Some cloud storage API clients and browsers handle decompression transparently, so + /// depending on how they are accessed, files may not always appear to be compressed. #[configurable(derived)] #[serde(default)] compression: Compression, diff --git a/website/cue/reference/components/sinks/base/azure_blob.cue b/website/cue/reference/components/sinks/base/azure_blob.cue index db8e6f2db91d0..575e72fc77220 100644 --- a/website/cue/reference/components/sinks/base/azure_blob.cue +++ b/website/cue/reference/components/sinks/base/azure_blob.cue @@ -116,6 +116,9 @@ base: components: sinks: azure_blob: configuration: { Compression configuration. All compression algorithms use the default compression level unless otherwise specified. + + Some cloud storage API clients and browsers handle decompression transparently, so + depending on how they are accessed, files may not always appear to be compressed. """ required: false type: string: { diff --git a/website/cue/reference/components/sinks/base/gcp_cloud_storage.cue b/website/cue/reference/components/sinks/base/gcp_cloud_storage.cue index 5f61220ae500d..28285b00dd6f1 100644 --- a/website/cue/reference/components/sinks/base/gcp_cloud_storage.cue +++ b/website/cue/reference/components/sinks/base/gcp_cloud_storage.cue @@ -140,6 +140,9 @@ base: components: sinks: gcp_cloud_storage: configuration: { Compression configuration. All compression algorithms use the default compression level unless otherwise specified. + + Some cloud storage API clients and browsers handle decompression transparently, so + depending on how they are accessed, files may not always appear to be compressed. """ required: false type: string: {