Event Driven Microservices

The real-world is all about collaboration, intentions and eventually dealing with issues by compensating use-cases for exception handling.

Read More

Reading List

Recent few years, I kept a habit to study a couple of topics and read 5 to 8 technical books per year. Below are the technical books, I have read or plan to read.

Read More

Kafka Partition Leader and Controller

Kafka uses Zookeeper for the following:

  • Electing a controller. The controller is one of the brokers and is responsible for maintaining the leader/follower relationship for all the partitions. Zookeeper is used to elect a controller, make sure there is only one and elect a new one it if it crashes.
  • Cluster membership - which brokers are alive and part of the cluster? this is also managed through ZooKeeper.
  • Topic configuration - which topics exist, how many partitions each has, where are the replicas, who is the preferred leader, what configuration overrides are set for each topic.
Read More

Event Sourcing and CQRS

The real-world is all about collaboration, intentions and eventually dealing with issues by compensating use-cases for exception handling.

Read More