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