In this article, you’ll learn basic terms and their definitions used in Kafka, architecture, Zookeeper, and how to create a producer and consumer using JavaScript that can interact with Kafka broker.
Follow These Guidelines to Write Testable Code That Can Scale | with Examples
I have seen people writing code which is hard to test and later writing tests just for the sake of it. Although having some tests is better than having no tests, you should always write tesable code.