Class DataStreamerOptions
Data streamer options.
public sealed record DataStreamerOptions : IEquatable<DataStreamerOptions>
- Inheritance
-
DataStreamerOptions
- Implements
- Inherited Members
Constructors
DataStreamerOptions()
Initializes a new instance of the DataStreamerOptions class.
public DataStreamerOptions()
DataStreamerOptions(int, int, TimeSpan)
Data streamer options.
public DataStreamerOptions(int PageSize, int RetryLimit, TimeSpan AutoFlushInterval)
Parameters
PageSize
intThe number of entries that will be sent to the cluster in one network call.
RetryLimit
intRetry limit for a batch. If a batch fails to be sent to the cluster, the streamer will retry it a number of times.
AutoFlushInterval
TimeSpanAuto flush interval - the period of time after which the streamer will flush the per-node buffer even if it is not full.
Fields
Default
Default streamer options.
public static readonly DataStreamerOptions Default
Field Value
Properties
AutoFlushInterval
Auto flush interval - the period of time after which the streamer will flush the per-node buffer even if it is not full.
public TimeSpan AutoFlushInterval { get; init; }
Property Value
PageSize
The number of entries that will be sent to the cluster in one network call.
public int PageSize { get; init; }
Property Value
RetryLimit
Retry limit for a batch. If a batch fails to be sent to the cluster, the streamer will retry it a number of times.
public int RetryLimit { get; init; }