Hi, Following this Jira ticket (https://issues.apache.org/jira/browse/KAFKA-4680), I've created a proposal ( https://cwiki.apache.org/confluence/display/KAFKA/KIP-579%3A+new+exception+on+min.insync.replicas+%3E+replication.factor) to add a new exception/error to be used on min.insync.replicas > replication.factor.
The proposal aims to introduce a new exception specific for the configuration mismatch above to be used when producers requires acks = all. At the moment we are using NotEnoughReplicaException, which is a retriable exception and is used to fail on insync replicas < min isr. Plan is to have a new, non-retriable exception, to separate the two cases. I've also submitted a PR for the change mentioned above: https://github.com/apache/kafka/pull/8225 Please have a look and let me know what you think. Thanks, Paolo