I.T Markaz Technologies

I.T Markaz Technologies IT Markaz is the group of people who are intend to spread knowledge over the world for free,
Goal of

IT Markaz is the group of people who are intend to spread knowledge over the world for free,
Goal of IT Markaz is to educate people to enhance their future

In this video we discussed docker internals we also discussed in details about Namespaces we also had hands-On lab DemoW...
20/07/2023

In this video we discussed docker internals we also discussed in details about Namespaces we also had hands-On lab Demo

What is in this Video
- Docker Internal discussion
- Detail discussion about Namespaces
- Hands On lab session for Namespaces

In this video we discussed docker internals we also discussed in details about Namespaces we also had hands-On lab DemoWhat is in this Video - Docker Interna...

20/07/2023

In this video we give introduction about web series what content we will gonna cover in this video series Topics Covered in the Video - Topic Brief - Trainer...

03/03/2023
21/08/2021

Kuberbetes Complete Course

09/08/2020

in this video we will see how we can configure jenkins jobs with parameters

09/08/2020

In this video we will see how we can integrate jira with jenkins and how we can update tickets related to builds ...

08/08/2020

In this video we will see how we can deploy code to some webservers using SSH plugin from Jenkins. This also contains all the detailed steps required to perf...

A Complete video series over Jenkins
25/04/2020

A Complete video series over Jenkins

25/04/2020

In this demonstration we will see how we can configure our Jenkins to multiple build tools like Maven Ant NodeJS Java Docker This will help us manage differe...

04/01/2020

How Kafka Nodes discovers each other in the cluster & Leader Election process..
Apache Kafka uses Zookeeper to select a controller, Zookeeper tracks the status of Kafka cluster nodes and also plays a vital role for serving many other purposes, such as leader detection, configuration management, synchronization, detecting when a new node joins or leaves the cluster, etc.and maintain cluster membership by storing configuration, including the list of topics in the cluster.

In order to remain part of the Kafka cluster, each broker has to send keep-alive to Zookeeper in regular intervals. This is something every Zookeeper client does by default. If the broker doesn't heartbeat Zookeeper every zookeeper.session.timeout.ms milliseconds (6000 by default), Zookeeper will assume the broker is dead. This will cause leader election for all partitions that had a leader on that broker. If this broker happened to be the controller, you will also see a new controller elected.

In a Kafka cluster, service discovery helps the brokers find each other and know who’s in the cluster; and consensus helps the brokers elect a cluster controller, know what partitions exist, where they are, if they’re a leader of a partition or if they’re a follower and need to replicate, and so on.

A controller is not too complex it is a normal broker that simply has an additional responsibility. That means it still leads partitions, has writes/reads going through it and replicates data. The most important part of that additional responsibility is keeping track of nodes in the cluster and appropriately handling nodes that leave, join or fail. This includes rebalancing partitions and assigning new partition leaders.

There is always exactly one controller broker in a Kafka cluster

Address

Karachi

Alerts

Be the first to know and let us send you an email when I.T Markaz Technologies posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Share

Category