You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jiang Wu (JIRA)" <ji...@apache.org> on 2014/07/11 23:44:04 UTC
[jira] [Created] (KAFKA-1537) add request.required.acks=-2 to
require acks from all replicas
Jiang Wu created KAFKA-1537:
-------------------------------
Summary: add request.required.acks=-2 to require acks from all replicas
Key: KAFKA-1537
URL: https://issues.apache.org/jira/browse/KAFKA-1537
Project: Kafka
Issue Type: Improvement
Components: core
Affects Versions: 0.8.1.1
Reporter: Jiang Wu
Priority: Minor
The current options for the producer parameter request.required.acks include 0, positive numbers and -1. -1 means the acks from replicas in ISR.
In a stress test, it's found that, if request.required.acks=-1 and the leader is receiving at high speed, then the followers will fail out of ISR. In this case, request.required.acks=-1 is equivelant to request.required.acks=1 because only the leader is in ISR.
It would be desirable to add request.required.acks=-2 to require acks from all replicas.
--
This message was sent by Atlassian JIRA
(v6.2#6252)