Variable StreamScalingPolicy
Stream
Scaling
Policy
: { auto_scaling_policy_by_data_rate
: ((target_rate_kbytes_per_sec
: number, scale_factor
: number, initial_segments
: number) => StreamScalingPolicy); auto_scaling_policy_by_event_rate
: ((target_events_per_sec
: number, scale_factor
: number, initial_segments
: number) => StreamScalingPolicy); fixed_scaling_policy
: ((initial_segments
: number) => StreamScalingPolicy) }
Type declaration
-
auto_scaling_policy_by_data_rate: ((target_rate_kbytes_per_sec: number, scale_factor: number, initial_segments: number) => StreamScalingPolicy)
-
- (target_rate_kbytes_per_sec: number, scale_factor: number, initial_segments: number): StreamScalingPolicy
-
Parameters
-
target_rate_kbytes_per_sec: number
-
scale_factor: number
-
initial_segments: number
-
auto_scaling_policy_by_event_rate: ((target_events_per_sec: number, scale_factor: number, initial_segments: number) => StreamScalingPolicy)
-
- (target_events_per_sec: number, scale_factor: number, initial_segments: number): StreamScalingPolicy
-
Parameters
-
target_events_per_sec: number
-
scale_factor: number
-
initial_segments: number
-
fixed_scaling_policy: ((initial_segments: number) => StreamScalingPolicy)
Contains factory methods to create different StreamScalingPolicy.