Worldline Interview Question

How do you ensure that messages are not lost when using Kafka?