closeTimeout¶
Milliseconds to wait for pending messages on shutdown.
This parameter applies to omkafka: write to Apache Kafka.
- Name:
closeTimeout
- Scope:
action
- Type:
integer
- Default:
action=2000
- Required?:
no
- Introduced:
at least 8.x, possibly earlier
Description¶
Sets the time to wait in ms for draining messages submitted to the Kafka handle before closing it. The maximum across all actions is used as librdkafka’s unload timeout.
Action usage¶
action(type="omkafka" closeTimeout="2000")
See also¶
See also omkafka: write to Apache Kafka.
Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project
Contributing: Source & docs: rsyslog source project
© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.