Table of Contents

Event SlowConsumerDetected

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

Event that is raised when a slow consumer is detected on a subscription. This event fires once per "episode" - when the subscription transitions into a slow consumer state. It will fire again if the subscription recovers (channel drains to nearly empty) and then becomes slow again.

public event AsyncEventHandler<NatsSlowConsumerEventArgs>? SlowConsumerDetected

Returns

AsyncEventHandler<NatsSlowConsumerEventArgs>
Event that is raised when a slow consumer is detected on a subscription. This event fires once per "episode" - when the subscription transitions into a slow consumer state. It will fire again if the subscription recovers (channel drains to nearly empty) and then becomes slow again.
Implements