mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
parent
ebbf36f75f
commit
da6099b2f1
1 changed files with 7 additions and 7 deletions
14
docs/static/persistent-queues.asciidoc
vendored
14
docs/static/persistent-queues.asciidoc
vendored
|
@ -21,19 +21,19 @@ persistent queues to buffer events on disk and remove the message broker.
|
||||||
|
|
||||||
In summary, the benefits of enabling persistent queues are as follows:
|
In summary, the benefits of enabling persistent queues are as follows:
|
||||||
|
|
||||||
* Provides protection from in-flight message loss when the Logstash process is abnormally terminated.
|
* Absorbs bursts of events without needing an external buffering mechanism like
|
||||||
* Absorbs bursts of events without needing an external buffering mechanism like Redis or Apache Kafka.
|
Redis or Apache Kafka.
|
||||||
* Provides an at-least-once message delivery guarantee. If Logstash is restarted while events are
|
* Provides an at-least-once delivery guarantee against message loss during
|
||||||
in-flight, Logstash will attempt to deliver messages stored in the persistent queue until delivery
|
a normal shutdown as well as when Logstash is terminated abnormally. If Logstash
|
||||||
succeeds at least once. In other words, messages stored in the persistent queue may be duplicated, but
|
is restarted while events are in-flight, Logstash will attempt to deliver
|
||||||
not lost.
|
messages stored in the persistent queue until delivery succeeds at least once.
|
||||||
|
|
||||||
[[persistent-queues-limitations]]
|
[[persistent-queues-limitations]]
|
||||||
==== Limitations of Persistent Queues
|
==== Limitations of Persistent Queues
|
||||||
|
|
||||||
The following are problems not solved by the persistent queue feature:
|
The following are problems not solved by the persistent queue feature:
|
||||||
|
|
||||||
* Input plugins that do not use a request-response protocol cannot be protected from data loss. For example: tcp, udp, zeromq push+pull, and many other inputs do not have a mechanism to acknowledge receipt to the sender. Plugins such as beats and http, which *do* have a acknowledgement capability, are well protected by this queue.
|
* Input plugins that do not use a request-response protocol cannot be protected from data loss. For example: tcp, udp, zeromq push+pull, and many other inputs do not have a mechanism to acknowledge receipt to the sender. Plugins such as beats and http, which *do* have an acknowledgement capability, are well protected by this queue.
|
||||||
* It does not handle permanent machine failures such as disk corruption, disk failure, and machine loss. The data persisted to disk is not replicated.
|
* It does not handle permanent machine failures such as disk corruption, disk failure, and machine loss. The data persisted to disk is not replicated.
|
||||||
|
|
||||||
[[persistent-queues-architecture]]
|
[[persistent-queues-architecture]]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue