Table of Contents

Class ConsumerGetnextRequest

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

A request to the JetStream $JS.API.CONSUMER.MSG.NEXT API

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

Properties

Batch

How many messages the server should deliver to the requestor

Expires

A duration from now when the pull should expire, stated in nanoseconds, 0 for no expiry

IdleHeartbeat

When not 0 idle heartbeats will be sent on this interval

MaxBytes

Sends at most this many bytes to the requestor, limited by consumer configuration max_bytes

NoWait

When true a response with a 404 status header will be returned when no messages are available