Skip to content

Commit

Permalink
[libbeat] Document the Kafka output backoff settings
Browse files Browse the repository at this point in the history
  • Loading branch information
faec authored Nov 5, 2020
1 parent fa9ebaa commit a399d21
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions libbeat/outputs/kafka/docs/kafka.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,19 @@ Set `max_retries` to a value less than 0 to retry until all events are published
The default is 3.
endif::[]

===== `backoff.init`

The number of seconds to wait before trying to republish to Kafka
after a network error. After waiting `backoff.init` seconds, {beatname_uc}
tries to republish. If the attempt fails, the backoff timer is increased
exponentially up to `backoff.max`. After a successful publish, the backoff
timer is reset. The default is 1s.

===== `backoff.max`

The maximum number of seconds to wait before attempting to republish to
Kafka after a network error. The default is 60s.

===== `bulk_max_size`

The maximum number of events to bulk in a single Kafka request. The default is 2048.
Expand Down

0 comments on commit a399d21

Please sign in to comment.