Practice
Learn
← Quit
0 / 0 correct
System Design
Hard
1 of 20
Why is 'update the database, then publish to Kafka' in application code unsafe?
A
Kafka cannot receive events from applications
B
A crash or broker error between the two steps leaves the DB changed without the event, or vice versa
C
It is safe if both calls are in a try/catch
D
Databases block Kafka connections