It should be a single INSERT, but through an ORM that multiplies it. The only upside of Kafka is not having the ORM…
That's being said, Kafka is not one of them.
That doesn't help with conditional-predicates - that's another major shortcoming in SQL.
It should be a single INSERT, but through an ORM that multiplies it. The only upside of Kafka is not having the ORM…