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
ConnectionString
Redis connection string (e.g. localhost:6379).
public string ConnectionString { get; set; }
Property Value
ConsumerGroup
Consumer group name. All workers in the same group compete for messages.
public string ConsumerGroup { get; set; }
Property Value
DeadLetterKey
Prefix for dead-letter entries.
public string DeadLetterKey { get; set; }
Property Value
ReadBlockTimeout
How long to block waiting for new messages (default 5 s).
public TimeSpan ReadBlockTimeout { get; set; }
Property Value
StreamKey
Redis Stream key used as the main queue.
public string StreamKey { get; set; }