Hacker News new | ask | show | jobs
by ahoka 191 days ago
Funny you mention that, because Kafka consumers actually pull messages.
2 comments

What is the reason for using Kafka then, sorry if I'm missing something fundamental.
A Kafka consumer does a lot of work coordinating distributed clients in a group, managing the current offset, balancing the readers across partitions, etc which is native broker functionality. Saying you can replace it all with a simple JDBC client or something isn't true (if you need that stuff!)
Not by busy waiting in a loop on a database query though.