Hi, Kafka guarantees ordering only within a partition (not across partitions in a topic) ie consumers reading off a partition will always get records in the order they were *received into the partition*.
Note that in some cases of retries by a non- idempotent producer, the order in which a producer sends data can be different from the order in which they are received into the partitions. An idempotent producer can be used to avoid this scenario. On Thu., 28 Jun. 2018, 8:33 am Malik, Shibha (GE Renewable Energy, consultant), <[email protected]> wrote: > Is order of data is not maintained in Kafka, Is Kafka not suitable to do > manage State / Transactional Scenarios such as Updating a Bank Account > scenarios etc >
