Record -
nats
: StreamingSubscriptionConfigData
The parameters used to create a NATS streaming subscription.
Fields
- subject string
-
Name of the subject to which it is subscribed to.
- queueName string
-
The name of the queue group to which the subscription belongs to.
- durableName string
-
If set, this will survive client restarts.
- maxInFlight int (default 1024)
-
The number of messages the cluster will have in-flight without an ACK.
- ackWaitInSeconds int (default 30)
-
The time the cluster will wait for an ACK for a given message (in Seconds).
- subscriptionTimeoutInSeconds int (default 2)
-
The time (in Seconds) the subscription will wait if a network failure occurs during the creation of it.
- manualAck boolean (default false)
-
Enables manual acknowledgments.
- startPosition StartPosition (default NEW_ONLY)
-
The position to start receiving messages.