1. Leader + Replicas ack requested
2. Added latency and safety
3. No data loss if enough replicas
- Necessary setting if you don't want to lose data
- Acks=all must be used in conjunction with min.insync.replicas.
- min.insync.replicas can be set at the broker or topic level (override).
- min.insync.replicas=2 implies that at least 2 brokers that are ISR(including leader) must responsd that they have the data.
- That means if you use replication.factor=3, min.insync=2, acks=all, you can only tolerate I broker going down, otherwise the producer will receive an exception on send.
댓글 없음:
댓글 쓰기