Class NatsJSConsumeOpts
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
- A handler function invoked for notifications related to consumption, allowing custom handling of operational updates or state changes during the consumer's lifecycle. 
- 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