Building a Kafka-style commit log from scratch.

Recently I was learning how Kafka works internally. So in order to understand it, I built a commit log system from scratch in Golang. Some people might think that Kafka is a message queue and not related to logs. But in reality Kafka is an append-only log system. I&rsquo;ve discussed this more in this post. In this post we will implement the log system discussed in the previous post from scratch.