Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
None
Description
There are instances when a Flink job that reads from Kafka can read at a significantly high throughput (particularly while processing a backlog) and degrade the underlying Kafka cluster.
While Kafka quotas are perhaps the best way to enforce this ratelimiting, there are cases where such a setup is not available or easily enabled. In such a scenario, ratelimiting on the FlinkKafkaConsumer is useful feature. The approach is essentially involves using Guava's RateLimiter to ratelimit the bytes read from Kafka (in the KafkaConsumerThread)
More discussion here: https://lists.apache.org/thread.html/8140b759ba83f33a22d809887fd2d711f5ffe7069c888eb9b1142272@%3Cdev.flink.apache.org%3E
Attachments
Attachments
Issue Links
- duplicates
-
FLINK-5445 flink kafka consumer should support rate control
- Closed
- relates to
-
FLINK-11826 Kafka09ITCase.testRateLimitedConsumer fails on Travis
- Closed
- links to