5
5
[ Fluent Bit] ( https://fluentbit.io ) has an engine that helps to coordinate the data
6
6
ingestion from input plugins. The engine calls the _ scheduler_ to decide when it's time to
7
7
flush the data through one or multiple output plugins. The scheduler flushes new data
8
- at a fixed time of seconds and retries when asked.
8
+ at a fixed number of seconds, and retries when asked.
9
9
10
10
When an output plugin gets called to flush some data, after processing that data it
11
11
can notify the engine using these possible return statuses:
@@ -17,14 +17,14 @@ can notify the engine using these possible return statuses:
17
17
18
18
## Configure wait time for retry
19
19
20
- The scheduler provides two configuration options called ` scheduler.cap ` and
21
- ` scheduler.base ` which can be set in the Service section. These determine the waiting
20
+ The scheduler provides two configuration options, called ` scheduler.cap ` and
21
+ ` scheduler.base ` , which can be set in the Service section. These determine the waiting
22
22
time before a retry happens.
23
23
24
24
| Key | Description | Default |
25
25
| --- | ------------| --------------|
26
- | ` scheduler.cap ` | Set a maximum retry time in seconds. Supported in v1.8.7 or greater . | ` 2000 ` |
27
- | ` scheduler.base ` | Set a base of exponential backoff. Supported in v1.8.7 or greater . | ` 5 ` |
26
+ | ` scheduler.cap ` | Set a maximum retry time in seconds. Supported in v1.8.7 or later . | ` 2000 ` |
27
+ | ` scheduler.base ` | Set a base of exponential backoff. Supported in v1.8.7 or later . | ` 5 ` |
28
28
29
29
The ` scheduler.base ` determines the lower bound of time and the ` scheduler.cap `
30
30
determines the upper bound for each retry.
@@ -97,8 +97,8 @@ impose a limit to try N times and then discard the data after reaching that limi
97
97
98
98
### Retry example
99
99
100
- The following example configures two outputs where the HTTP plugin has an unlimited
101
- number of while the Elasticsearch plugin have a limit of ` 5 ` retries:
100
+ The following example configures two outputs, where the HTTP plugin has an unlimited
101
+ number of retries, and the Elasticsearch plugin have a limit of ` 5 ` retries:
102
102
103
103
``` text
104
104
[OUTPUT]
0 commit comments