shuaijinchao commented on a change in pull request #6415:
URL: https://github.com/apache/apisix/pull/6415#discussion_r816475188
##########
File path: docs/en/latest/plugins/error-log-logger.md
##########
@@ -57,11 +61,8 @@ For more info on Batch-Processor in Apache APISIX please
refer.
| timeout | integer | optional | 3
| [1,...] | Timeout for the upstream to connect and send, unit:
second. |
| keepalive | integer | optional | 30
| [1,...] | Time for keeping the cosocket alive, unit: second.
|
| level | string | optional | WARN
| | The filter's log level, default warn, choose the level
in ["STDERR", "EMERG", "ALERT", "CRIT", "ERR", "ERROR", "WARN", "NOTICE",
"INFO", "DEBUG"], the value ERR equals ERROR. |
-| batch_max_size | integer | optional | 1000
| [1,...] | Max size of each batch.
|
-| inactive_timeout | integer | optional | 3
| [1,...] | Maximum age in seconds when the buffer will be flushed
if inactive. |
-| buffer_duration | integer | optional | 60
| [1,...] | Maximum age in seconds of the oldest entry in a batch
before the batch must be processed. |
-| max_retry_count | integer | optional | 0
| [0,...] | Maximum number of retries before removing from the
processing pipe line. |
-| retry_delay | integer | optional | 1
| [0,...] | Number of seconds the process execution should be
delayed if the execution fails. |
+
+This plug-in supports the use of batch processors to aggregate and process
entries(logs/data) in a batch. This avoids frequent data submissions by the
plugin, which by default the batch processor submits data every '5' seconds or
when the data in the queue reaches '1000'. for information or custom batch
processor parameter settings, see
[Batch-Processor](../batch-processor.md#configuration) configuration section.
Review comment:
```suggestion
The plugin supports the use of batch processors to aggregate and process
entries(logs/data) in a batch. This avoids frequent data submissions by the
plugin, which by default the batch processor submits data every `5` seconds or
when the data in the queue reaches `1000`. for information or custom batch
processor parameter settings, see
[Batch-Processor](../batch-processor.md#configuration) configuration section.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]