Flink检查点禁用,自动偏移提交为false。

huangapple go评论41阅读模式
英文:

Flink checkpoint disabled and auto.offset.commit is false

问题

我们有一个使用Flink的应用程序,从Kafka消费记录,然后进行转换并生产到Kafka。

我们正在使用Flink版本1.16。

希望了解以下配置下的偏移提交/管理行为。

  1. 禁用了Flink的检查点
  2. auto.commit.enabled = false
  3. offset.reset = earliest
英文:

We have flink app which consumes record from kafka and transform and produce to kafka.

We are using Flink version 1.16

Want to understand the behaviour of offset commit/management with below configuration .

  1. flink checkpoint disabled
  2. auto.commit.enabled = false
  3. offset.reset = earliest

答案1

得分: 0

如果您禁用了Flink的检查点和Kafka客户端的自动提交,将不会提交任何偏移量到Kafka。如果您重新启动您的Flink应用程序,它将从最早的偏移量开始读取所有数据。

英文:

If you disable both Flink checkpoints and Kafka Client auto committing, no offsets will be committed to Kafka. If you restart your Flink application, it will read from earliest everything you're starting it.

huangapple
  • 本文由 发表于 2023年6月1日 13:52:04
  • 转载请务必保留本文链接:https://go.coder-hub.com/76379008.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定