Comment by nitwit005
7 months ago
Kafka is itself a database. Sending a message requires what is essentially a database insert. You're still doing a DB commit either way.
7 months ago
Kafka is itself a database. Sending a message requires what is essentially a database insert. You're still doing a DB commit either way.
It's more of a commit log/write-ahead log/replication stream than a DBMS - consider that DBMSs typically include these in addition to their primary storage.
It's clearly not a full blown database product, but it's still got the core elements of a database. Your data is getting replicated to multiple instances, written to disk, and an index is created for quick lookup.
It's just the table that's getting is essentially append only (excepting the cleanup processes it supports).
My point was more about the two having separate use cases - but Kafka handles write throughput much easier compared to an RDBMS due to lack of transactions and not needing to manipulate the primary table data structures.