Table of Contents

Class NatsJSFetchOpts

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

Consumer fetch method options.

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

Properties

Expires

Amount of time to wait for the request to expire

IdleHeartbeat

Amount idle time the server should wait before sending a heartbeat. For requests with expires > 30s, heartbeats should be enabled by default

MaxBytes

Maximum number of bytes to return

MaxMsgs

Maximum number of messages to return

NotificationHandler
PriorityGroup

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