Table of Contents

Class CloudEventCompressionOptions

Namespace
Excalibur.Dispatch.Options.CloudEvents
Assembly
Excalibur.Dispatch.dll

Configuration options for CloudEvent payload compression.

public sealed class CloudEventCompressionOptions
Inheritance
CloudEventCompressionOptions
Inherited Members
Extension Methods

Properties

CompressionThreshold

Gets or sets the minimum payload size (in bytes) to trigger compression.

[Range(0, 2147483647)]
public int CompressionThreshold { get; set; }

Property Value

int

The current CompressionThreshold value.

UseCompression

Gets or sets a value indicating whether to use compressed serialization for large payloads.

public bool UseCompression { get; set; }

Property Value

bool

The current UseCompression value.