# resubmitOnFailure

Retry failed messages when Kafka becomes available.

This parameter applies to omkafka: write to Apache Kafka.

Name:

  resubmitOnFailure

Scope:

  action

Type:

  boolean

Default:

  action=off

Required?:

  no

Introduced:

  8.28.0

## Description

Added in version 8.28.0.

If enabled, failed messages will be resubmitted automatically when Kafka can send messages again. Messages rejected because they exceed the maximum size are dropped.

## Action usage

    action(type="omkafka" resubmitOnFailure="on")

## Notes

- Originally documented as “binary”; uses boolean values.

## 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.