THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
It looks perfect. But there's a caveat here. Like the doc said, acks=all will "wait for the full set of in-sync replicas to acknowledge the record", so what if there's only 1 replica in in-sync replicas only have 1? It , it will have the same effect as acks=1 . (even though we have replication-factor set to 3).
To get the expected durability, users also need to set min.insync.replicas
config correctly. In the doc of min.insync.replicas config:
...