Re: ​Inconsistent state in Account Debit - Credit Application Using Kafka Transaction

2019-03-13 Thread Matthias J. Sax
That is not possible. On read, it's not even known which records belong to the same "write transaction". Note, that this is how transactions work in general: assume you have a database and a transactions updates two rows. After the transaction commits, you can read those updates, but you don't kno

​Inconsistent state in Account Debit - Credit Application Using Kafka Transaction

2019-03-13 Thread Ankur Saxena
Hi , Please address my issue Account A sends 500 bucks to Account B , We are using a topic Account having multiple partitions to record these events Producer -> Transaction starts Account A BalanceA - 500 to topic Account , partition p0 Account B BalanceB + 500 to topic Account , partition p1