[Transform] add throttling (#56007)

add throttling to transform, throttling will slow down search requests by delaying the execution based on a documents per second metric. 

fixes #54862
This commit is contained in:
Hendrik Muhs 2020-05-05 11:34:54 +02:00 committed by GitHub
parent 8810ed03a2
commit 33f134f556
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 2057 additions and 534 deletions

View file

@ -84,9 +84,6 @@ include-tagged::{doc-tests-file}[{api}-pivot-config]
--------------------------------------------------
<1> The `GroupConfig` to use in the pivot
<2> The aggregations to use
<3> The maximum paging size for the {transform} when pulling data
from the source. The size dynamically adjusts as the {transform}
is running to recover from and prevent OOM issues.
===== GroupConfig
The grouping terms. Defines the group by and destination fields
@ -115,6 +112,18 @@ include-tagged::{doc-tests-file}[{api}-agg-config]
--------------------------------------------------
<1> Aggregate the average star rating
===== SettingsConfig
Defines settings.
["source","java",subs="attributes,callouts,macros"]
--------------------------------------------------
include-tagged::{doc-tests-file}[{api}-settings-config]
--------------------------------------------------
<1> The maximum paging size for the {transform} when pulling data
from the source. The size dynamically adjusts as the {transform}
is running to recover from and prevent OOM issues.
include::../execution.asciidoc[]
[id="{upid}-{api}-response"]