'How to configure event rate in Flink
I have a file containing millions of entries and I need to process it with Apache Flink in combination with Kafka.
I have written a Producer which reads lines from the file and passes them to Kafka. I also have a Consumer that consumes the data from Kafka. Both of them are connectors in Apache Flink.
My question is, is there a way to configure the Producer so that I can configure it to read and pass a specific number of lines per second (such as 1000 lines per second, or 100,000 lines per second) to Kafka?
Thanks in advance :)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
