Re: Long latency when consuming a message from KAFKA and checkpoint is enabled

2021-01-05 Thread Arvid Heise
Hi Nick, I'm not entirely sure that I understand your setup correctly. Basically, when enabling exactly once and checkpointing, Flink will only consume messages that have been committed. If you chain two Flink jobs with an intermediate Kafka topic, then the first Flink job will only commit

Re: Long latency when consuming a message from KAFKA and checkpoint is enabled

2020-12-27 Thread Danny Chan
Hi, Nick ~ The behavior is as expected, because Kafka source/sink relies on the Checkpoints to complement the exactly-once write semantics, a checkpoint snapshot the states on a time point which is used for recovering, the current internals for Kafka sink is that it writes to Kafka but only

Re: Long latency when consuming a message from KAFKA and checkpoint is enabled

2020-12-26 Thread nick toker
Hi any idea? is it a bug? regards' nick ‫בתאריך יום ד׳, 23 בדצמ׳ 2020 ב-11:10 מאת ‪nick toker‬‏ <‪ nick.toker@gmail.com‬‏>:‬ > Hello > > We noticed the following behavior: > If we enable the flink checkpoints, we saw that there is a delay between > the time we write a message to the KAFKA