kafka ack=all and min-isr

后端 未结 1 979
失恋的感觉
失恋的感觉 2021-02-09 06:32

Summary

The docs and code comments for Kafka suggest that when the producer setting acks is set to all then an ack will only b

相关标签:
1条回答
  • 2021-02-09 07:06

    Thanks to Ismael on the jira-dev mailing list.

    The key point is the line:

    if(leaderReplica.highWatermark.messageOffset >= requiredOffset) {

    The high watermark only moves when all the replicas in ISR have that particular offset.

    0 讨论(0)
提交回复
热议问题