Hi All,
In document of Flink 1.6, it says that "Before 0.9 Kafka did not provide any mechanisms to guarantee at-least-once or exactly-once semantics” I read the source code of FlinkKafkaConsumer08, and the comment says:
Obviously, the kafka partition offsets are checkpointed periodically. And when some error happens, the data are read from kafka, continued from the checkpointed offset. Then source and other operator states restart from the same checkpoint. Then why does the document say “Before 0.9 Kafka did not provide any mechanisms to guarantee at-least-once or exactly-once semantics” ? Thanks a lot. Best Henry
|
Hi,
I think this part of the documentation is talking about KafkaProducer, and you are reading in the source code of KafkaConsumer. Best, Stefan
|
Hi Stefan,
I didn`t notice that in the webpage.. Thanks a lot for your help! That makes me understand the delivery guarantees more clearly. Best Henry
|
Free forum by Nabble | Edit this page |