Timeline for Kafka - min.insync.replicas interpretation
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 4, 2023 at 15:26 | comment | added | Vineeth |
neat description. only question is whether for ack=all it checks for all replicas to be in sync or just the min ISR ones before the acknowledge back.
|
|
Nov 26, 2022 at 9:01 | comment | added | Mikhail Geyer |
@Nag. I think you wrong in If all replicas(brokers) are functioning properly, ack will only be sent if all replicas are responds back with a response. My understanding that - If all replicas(brokers) are functioning properly, ack will only be sent as soon as min.insync.replicas are responded. See stackoverflow.com/questions/74580490/…
|
|
Sep 19, 2021 at 15:22 | comment | added | Trying | @ChrisMatta when does the insync replica list gets updated in zookeeper, is it updated by the partition leader before sending the response to the producer (kafka 0.10.2)? | |
Jul 1, 2021 at 15:48 | comment | added | Chris Matta | @viji Consumers will still be able to consume messages, the topic will not be unavailable, but producers will not be able to produce until min.isr in satisfied | |
Jun 11, 2021 at 18:24 | comment | added | viji | What happens to the consumer? If min.insync.replicas is 3 and ISR is 2, would the topic be available to consumers? | |
Jun 12, 2020 at 14:10 | comment | added | Chris Matta | yep, looks like you got it | |
Jun 12, 2020 at 12:04 | vote | accept | Nag | ||
Jun 12, 2020 at 3:07 | comment | added | Nag | So , in summary - acks = all will send the acknowledgement if at least ""min.insync.replicas" responded back with the response. To quantify "atleast", it depends on the topic health. If all replicas(brokers) are functioning properly, ack will only be sent if all replicas are responds back with a response. IF not , atleast "min.insync.replicas" should respond back . | |
Jun 11, 2020 at 19:24 | comment | added | Chris Matta | @Nag, my answer covers your update #1, is there something that's not clear? | |
Jun 11, 2020 at 19:04 | comment | added | Nag | I just added update #1, can you please check and add your thoughts | |
Jun 11, 2020 at 18:24 | comment | added | Chris Matta | It only has an impact if in sync replicas < total number of replicas for the topic. | |
Jun 11, 2020 at 17:50 | comment | added | Nag | Does this mean - "If the topic is healthy, the producer will wait for all replicas before sending the ack" - independent of the setting "min.insync.replicas"? Basically, i wanted to understand does "min.insync.replicas" have any impact on "Acks" setting ? | |
Jun 11, 2020 at 17:20 | history | answered | Chris Matta | CC BY-SA 4.0 |