Table of Contents

Property SubPendingChannelFullMode

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

SubPendingChannelFullMode

This value will be used for subscriptions internal bounded message channel FullMode. The default is to drop newest message when full (BoundedChannelFullMode.DropNewest).

public BoundedChannelFullMode SubPendingChannelFullMode { get; init; }

Property Value

BoundedChannelFullMode

Remarks

If the client reaches this internal limit (bounded channel capacity), by default it will drop messages and continue to process new messages. This is aligned with NATS at most once delivery. It is up to the application to detect the missing messages (MessageDropped) and recover from this condition or set a different default such as BoundedChannelFullMode.Wait in which case it might risk server disconnecting the client as a slow consumer.