Class DefaultConductorClientConfiguration
java.lang.Object
com.netflix.conductor.client.config.DefaultConductorClientConfiguration
- All Implemented Interfaces:
ConductorClientConfiguration
public class DefaultConductorClientConfiguration
extends Object
implements ConductorClientConfiguration
A default implementation of
ConductorClientConfiguration where external payload barriers
is disabled. SEE: SEE: External Payload Storage-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintintbooleanboolean
-
Constructor Details
-
DefaultConductorClientConfiguration
public DefaultConductorClientConfiguration()
-
-
Method Details
-
getWorkflowInputPayloadThresholdKB
public int getWorkflowInputPayloadThresholdKB()- Specified by:
getWorkflowInputPayloadThresholdKBin interfaceConductorClientConfiguration- Returns:
- the workflow input payload size threshold in KB, beyond which the payload will be
processed based on
ConductorClientConfiguration.isExternalPayloadStorageEnabled().
-
getWorkflowInputMaxPayloadThresholdKB
public int getWorkflowInputMaxPayloadThresholdKB()- Specified by:
getWorkflowInputMaxPayloadThresholdKBin interfaceConductorClientConfiguration- Returns:
- the max value of workflow input payload size threshold in KB, beyond which the payload will be rejected regardless external payload storage is enabled.
-
getTaskOutputPayloadThresholdKB
public int getTaskOutputPayloadThresholdKB()- Specified by:
getTaskOutputPayloadThresholdKBin interfaceConductorClientConfiguration- Returns:
- the task output payload size threshold in KB, beyond which the payload will be
processed based on
ConductorClientConfiguration.isExternalPayloadStorageEnabled().
-
getTaskOutputMaxPayloadThresholdKB
public int getTaskOutputMaxPayloadThresholdKB()- Specified by:
getTaskOutputMaxPayloadThresholdKBin interfaceConductorClientConfiguration- Returns:
- the max value of task output payload size threshold in KB, beyond which the payload will be rejected regardless external payload storage is enabled.
-
isExternalPayloadStorageEnabled
public boolean isExternalPayloadStorageEnabled()- Specified by:
isExternalPayloadStorageEnabledin interfaceConductorClientConfiguration- Returns:
- the flag which controls the use of external storage for storing workflow/task input and output JSON payloads with size greater than threshold. If it is set to true, the payload is stored in external location. If it is set to false, the payload is rejected and the task/workflow execution fails.
-
isEnforceThresholds
public boolean isEnforceThresholds()- Specified by:
isEnforceThresholdsin interfaceConductorClientConfiguration- Returns:
- the flag which controls whether to enforce or not the barriers on the size of workflow and task payloads for both input and output. SEE: External Payload Storage
-