Shubham Raj created KAFKA-18762:
-----------------------------------
Summary: 'Acks=all' not working correctly in Kafka Kraft mode.
Key: KAFKA-18762
URL: https://issues.apache.org/jira/browse/KAFKA-18762
Project: Kafka
Issue Type: Bug
Components: kraft
Affects Versions: 3.9.0
Reporter: Shubham Raj
In Kraft mode, producers are able to produce messages to a topic with a
replication factor of 1, even when the {{min.insync.replicas}} setting is 2 and
{{{}acks=all{}}}. This behavior is inconsistent with Zookeeper mode, where the
production fails with a timeout exception as expected. This was observed in
Kafka 3.9.0. We tried both Java and Python API.
*Steps to Reproduce:*
# Set up a Kafka cluster in Kraft mode.
# Create a topic with the following properties:
** Replication Factor: 1
** Partitions: 1 (for simplicity)
# Set the {{min.insync.replicas}} configuration for the cluster to 2.
# Configure a Kafka producer with {{{}acks=all{}}}.
# Attempt to produce messages to the topic.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)