You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::KinesisAnalyticsV2::Types::ParallelismConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::KinesisAnalyticsV2::Types::ParallelismConfiguration
- Defined in:
- (unknown)
Overview
When passing ParallelismConfiguration as input to an Aws::Client method, you can use a vanilla Hash:
{
configuration_type: "DEFAULT", # required, accepts DEFAULT, CUSTOM
parallelism: 1,
parallelism_per_kpu: 1,
auto_scaling_enabled: false,
}
Describes parameters for how a Flink-based Kinesis Data Analytics application application executes multiple tasks simultaneously. For more information about parallelism, see Parallel Execution in the Apache Flink Documentation.
Returned by:
Instance Attribute Summary collapse
-
#auto_scaling_enabled ⇒ Boolean
Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput.
-
#configuration_type ⇒ String
Describes whether the application uses the default parallelism for the Kinesis Data Analytics service.
-
#parallelism ⇒ Integer
Describes the initial number of parallel tasks that a Flink-based Kinesis Data Analytics application can perform.
-
#parallelism_per_kpu ⇒ Integer
Describes the number of parallel tasks that a Flink-based Kinesis Data Analytics application can perform per Kinesis Processing Unit (KPU) used by the application.
Instance Attribute Details
#auto_scaling_enabled ⇒ Boolean
Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput.
#configuration_type ⇒ String
Describes whether the application uses the default parallelism for the
Kinesis Data Analytics service. You must set this property to CUSTOM
in order to change your application\'s AutoScalingEnabled
,
Parallelism
, or ParallelismPerKPU
properties.
Possible values:
- DEFAULT
- CUSTOM
#parallelism ⇒ Integer
Describes the initial number of parallel tasks that a Flink-based
Kinesis Data Analytics application can perform. If AutoScalingEnabled
is set to True, Kinesis Data Analytics increases the
CurrentParallelism
value in response to application load. The service
can increase the CurrentParallelism
value up to the maximum
parallelism, which is ParalellismPerKPU
times the maximum KPUs for the
application. The maximum KPUs for an application is 32 by default, and
can be increased by requesting a limit increase. If application load is
reduced, the service can reduce the CurrentParallelism
value down to
the Parallelism
setting.
#parallelism_per_kpu ⇒ Integer
Describes the number of parallel tasks that a Flink-based Kinesis Data Analytics application can perform per Kinesis Processing Unit (KPU) used by the application. For more information about KPUs, see Amazon Kinesis Data Analytics Pricing.