81 points · by the2ndfloorguy · 5y ago · 11 comments
https://engineering.linkedin.com/distributed-systems/log-wha...
Reading it was an aha. At its core, the log is the simplest thing that might work in a lot of cases.
The prefixes can be somewhat done with a custom partitioner, the lookup requires another technology. The only way to know the final value under the key is to look at the complete log.
you might look at ksql for filtering purposes or just tried to work such things into your topics/partitions?
> You might think that Kafka would be using queue data structure internally. It’s not true. Kafka uses a “log” data structure. It is a persistent data structure which allows only appends, no editing, no deletion. In detail, we will cover this some other day.
Almost immediately followed by:
> Ok, I have a confession . I lied. A Kafka topic is not just a single queue. It’s a combination of queues which helps kafka scale. Every queue is called partition.
No, it's a simple blog post.
> Show HN is for sharing your personal work and has special rules.
The first line of the rules [1] -
> Show HN is for something you've made that other people can play with. HN users can try it out, give you feedback, and ask questions in the thread.