Class RedisEndpointOptions
Typed options for . Bound from URI query parameters.
public sealed class RedisEndpointOptions : EndpointOptions
Inheritance
Inherited Members
Properties
AckMode
When a stream entry read through a consumer group is settled (). Manual
public AckMode AckMode { get; set; }
Batching
Batch mode of a stream consumer (Apache Camel batching, the batch contract of every broker of redb.Route):
public bool Batching { get; set; }
BatchingIntervalMs
Batch mode: a batch is sent on once this many milliseconds have passed since its first entry.
public int? BatchingIntervalMs { get; set; }
ConnectionFactory
Name of in the route registry.
[RegistryReference(typeof(RedisConnectionFactory))]
public string? ConnectionFactory { get; set; }
ConnectionString
Redis connection string (default: localhost:6379).
public string ConnectionString { get; set; }
Key
Redis key (for key-based operations). May contain dynamic expressions.
public string? Key { get; set; }
MaxBatchMessages
Largest number of entries in a batch (default ).
public int? MaxBatchMessages { get; set; }
PollDelayMs
Polling delay in ms when list/stream consumer finds no messages.
public int PollDelayMs { get; set; }
PollTimeoutMs
Batch mode: a batch with entries is sent on once no entry came for this many milliseconds, restarted by every
public int PollTimeoutMs { get; set; }
ProcessingList
A BLPOP/BRPOP consumer moves an item into this list (LMOVE) instead of popping it, and removes it from there after
public string? ProcessingList { get; set; }
StreamApproximate
Use approximate max length for XADD trimming.
public bool StreamApproximate { get; set; }
StreamBlockTimeMs
Block time in ms when no stream entries available.
public int StreamBlockTimeMs { get; set; }
StreamClaimMinIdleMs
A group consumer claims (XAUTOCLAIM) entries of its group that have stayed pending for at least this many
public int? StreamClaimMinIdleMs { get; set; }
StreamReadCount
Number of entries to read at a time from a stream.
public int StreamReadCount { get; set; }
StreamStartPosition
Where a stream consumer starts. Unset: at the entries added from now on — for a group, the group is created at the
public string? StreamStartPosition { get; set; }
Transacted
Producer: whether the operation waits for the commit of the enclosing .Transacted() block. PUBLISH and XADD
public bool? Transacted { get; set; }
UsePattern
Subscribe to as a pattern. PSUBSCRIBE always does; this makes SUBSCRIBE do it too.
public bool UsePattern { get; set; }
Methods
UnknownParameterHint(string)
A connector's own words for a parameter name it does not know — typically a name it used to
protected override string? UnknownParameterHint(string name)
Validate()
Validates required parameters and constraints. Called after BindFromUri.
public override void Validate()