lundi 2 février 2015

Can we use Kafka for transactional data?

We have a booking server. So, After booking is done, we will send an kafka message to Kafka server for reducing seat count against a booking made. The consumer of this will be in different server. Should be use this design?? Because my kafka events are not idempotent. Every event will decrement the seat count on other server. Since kafka is at-least once message delivery system, how can we handle problem of duplication of kafka message??


Aucun commentaire:

Enregistrer un commentaire