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 1024
  • The number of messages the cluster will have in-flight without an ACK.

  • ackWaitInSeconds int 30
  • The time the cluster will wait for an ACK for a given message (in Seconds).

  • subscriptionTimeoutInSeconds int 2
  • The time (in Seconds) the subscription will wait if a network failure occurs during the creation of it.

  • manualAck boolean false
  • Enables manual acknowledgments.

  • startPosition StartPosition NEW_ONLY
  • The position to start receiving messages.