Table of Contents

Class RedisWorkflowOptions

Namespace
JD.AI.Workflows.Distributed.Redis
Assembly
JD.AI.Workflows.Distributed.dll

Options for connecting to Redis for distributed workflow dispatch.

public sealed class RedisWorkflowOptions
Inheritance
RedisWorkflowOptions
Inherited Members

Properties

BatchSize

Maximum messages fetched per read call.

public int BatchSize { get; set; }

Property Value

int

ConnectionString

Redis connection string (e.g. localhost:6379).

public string ConnectionString { get; set; }

Property Value

string

ConsumerGroup

Consumer group name. All workers in the same group compete for messages.

public string ConsumerGroup { get; set; }

Property Value

string

DeadLetterKey

Prefix for dead-letter entries.

public string DeadLetterKey { get; set; }

Property Value

string

ReadBlockTimeout

How long to block waiting for new messages (default 5 s).

public TimeSpan ReadBlockTimeout { get; set; }

Property Value

TimeSpan

StreamKey

Redis Stream key used as the main queue.

public string StreamKey { get; set; }

Property Value

string