Class CongestionControlRateLimitingStrategy

java.lang.Object
org.apache.flink.connector.base.sink.writer.strategy.CongestionControlRateLimitingStrategy
All Implemented Interfaces:
RateLimitingStrategy

@PublicEvolving public class CongestionControlRateLimitingStrategy extends Object implements RateLimitingStrategy
A RateLimitingStrategy implementation that does the following:
  • Scales up when any request is successful.
  • Scales down when any message in a request is unsuccessful.
  • Uses a scaling strategy to scale up/down depending on whether the request is successful.

This strategy works well for throughput-limited record-based sinks (e.g. Kinesis, Kafka).