Skip to main content
Version: 2.15 (latest)

batch

Available since NATS Server 2.12
Hot Reloadable
Enforced when a batch publish starts, so a batch already in progress is unaffected. Only a batch started after the reload sees the new ceiling.

Ceilings on atomic batch publishing.

Properties

NameDescriptionTypeDefaultReloadable
max_msgsMessages allowed in a single batch.integer1000Yes*
max_inflight_totalBatches allowed in flight across the server.integer1000Yes*
max_inflight_per_streamBatches allowed in flight for one stream.integer50Yes*
timeoutHow long an incomplete batch is held before it is discarded.duration10sYes*

* See the property page for reload caveats.