Table of Contents

Class KafkaRetryOptions

Namespace
Excalibur.Dispatch.Transport.Kafka
Assembly
Excalibur.Dispatch.Transport.Kafka.dll

Kafka retry settings.

public sealed class KafkaRetryOptions
Inheritance
KafkaRetryOptions
Inherited Members
Extension Methods

Properties

BackoffMultiplier

Gets or sets the backoff multiplier for exponential backoff.

public double BackoffMultiplier { get; set; }

Property Value

double

The backoff multiplier for exponential backoff.

MaxRetryAttempts

Gets or sets the maximum number of retry attempts.

public int MaxRetryAttempts { get; set; }

Property Value

int

The maximum number of retry attempts.

MaxRetryDelay

Gets or sets the maximum retry delay.

public TimeSpan MaxRetryDelay { get; set; }

Property Value

TimeSpan

The maximum retry delay.

RetryDelay

Gets or sets the base retry delay.

public TimeSpan RetryDelay { get; set; }

Property Value

TimeSpan

The base retry delay.

UseExponentialBackoff

Gets or sets a value indicating whether to use exponential backoff.

public bool UseExponentialBackoff { get; set; }

Property Value

bool

A value indicating whether to use exponential backoff.

UseJitter

Gets or sets a value indicating whether to add jitter to retry delays.

public bool UseJitter { get; set; }

Property Value

bool

A value indicating whether to add jitter to retry delays.