Skip to content

Ack Drain Timeout

Key: qie.ackDrainTimeoutInSeconds

Env Var: QIE_ACKDRAINTIMEOUTINSECONDS

Default: 30

Scope: Global

Description: The maximum number of seconds a stopping channel waits for in-flight acknowledgments to drain. On the receiving side this lets the receiver finish persisting and acknowledging messages already read off the wire; on the sending side this lets a transmitted message receive its pending acknowledgment instead of being returned to the outbound queue. When the timeout expires the channel finishes stopping anyway; any message left unacknowledged may be re-sent, resulting in a duplicate on the receiving system.

Examples

Env Var

QIE_ACKDRAINTIMEOUTINSECONDS=10

Java Option

-Dqie.ackDrainTimeoutInSeconds=10

YAML

QIE_ACKDRAINTIMEOUTINSECONDS: 10