Table of Contents

Class NatsJSConsumeOpts

Namespace
NATS.Client.JetStream
Assembly
NATS.Client.JetStream.dll

Consumer consume method options.

public record NatsJSConsumeOpts : IEquatable<NatsJSConsumeOpts>
Inheritance
NatsJSConsumeOpts
Implements
Inherited Members

Properties

Expires

Amount of time to wait for a single pull request to expire

IdleHeartbeat

Amount idle time the server should wait before sending a heartbeat

MaxBytes

Maximum number of bytes stored in the buffer

MaxMsgs

Maximum number of messages stored in the buffer

NotificationHandler
PriorityGroup

Optional priority group configuration used for consuming messages. Defines a group name and constraints for minimum pending messages and acknowledgments.

ThresholdBytes

Hint for the number of bytes left in buffer that should trigger a low watermark on the client, and influence it to request more data.

ThresholdMsgs

Number of messages left in the buffer that should trigger a low watermark on the client, and influence it to request more messages