In distributed messaging systems, such as Apache Kafka, it’s essential to ensure that messages are delivered reliably, even when facing…