Class CdcHealthCheckOptions
- Namespace
- Excalibur.Data.CloudNative
- Assembly
- Excalibur.Data.Abstractions.dll
General configuration options for CDC health checks across all providers.
public class CdcHealthCheckOptions
- Inheritance
-
CdcHealthCheckOptions
- Derived
- Inherited Members
Remarks
Provider-specific health check options classes can inherit from this base class to add provider-specific thresholds while sharing common configuration.
Properties
DegradedInactivityTimeout
Gets or sets how long the processor can be inactive before it is considered degraded.
public TimeSpan DegradedInactivityTimeout { get; set; }
Property Value
- TimeSpan
The degraded inactivity timeout. Default is 5 minutes.
DegradedLagThreshold
Gets or sets the lag threshold (number of unprocessed events) for degraded status.
public long DegradedLagThreshold { get; set; }
Property Value
- long
The degraded lag threshold. Default is 1000.
UnhealthyConsecutiveTransientFailures
Gets or sets how many consecutive transient failures without progress make the CDC health check report Unhealthy.
public int UnhealthyConsecutiveTransientFailures { get; set; }
Property Value
- int
The threshold; defaults to 3. Must be at least 1.
Remarks
Streaming processors report each reconnect that fails without making progress. The count returns to zero as soon as the processor makes progress again.
UnhealthyInactivityTimeout
Gets or sets how long the processor can be inactive before it is considered unhealthy.
public TimeSpan UnhealthyInactivityTimeout { get; set; }
Property Value
- TimeSpan
The inactivity timeout. Default is 10 minutes.
UnhealthyLagThreshold
Gets or sets the lag threshold for unhealthy status.
public long UnhealthyLagThreshold { get; set; }
Property Value
- long
The unhealthy lag threshold. Default is 10000.