Spread the loveKafka Topics List existing topics bin/kafka-topics.sh –zookeeper localhost:2181 –list Purge a topic bin/kafka-topics.sh –zookeeper localhost:2181 –alter –topic mytopic –config retention.ms=1000 … wait a minute … bin/kafka-topics.sh –zookeeper localhost:2181 –alter –topic mytopic –delete-config retention.ms
Client: One of the nodes in our distributed application cluster, access information from the server. For a particular time interval, every client sends a message to the server to let the sever know that the client is alive.
Similarly, the server sends an acknowledgement when a client connects. If there is no response from the connected server, the client automatically redirects the message to another server.
Server: One of the nodes in our ZooKeeper ensemble, provides all the services to clients. Gives acknowledgement to client to inform that the server is alive.
Ensemble: Group of ZooKeeper servers. The minimum number of nodes that is required to form an ensemble is 3.
so in this lecture we will see some important components in distributed system so first one is client client is one of the node in our distributed system application that acts as the information from the server for a particular time interval every client sends a message to the server to let the server know that the client is alive similarly the server sends an acknowledgment when a client connects if there is no response from the connected server the client automatically read it the message to another server so acknowledges acknowledgement is nothing but it is a confirmation from the server and next important component is server so one of the node enable zookeeper in-sample provides all the services to clients like as I told you it gives the alcohol into the client to inform that the server is still alive another important component is ansible as I mentioned any symbol is nothing but a group of zookeeper nodes or servers so when I say nodes servers computers all are same we can use interchangeably in in our engineering IIT terms the minimum number of nodes that is required to form an Assemblies 3 so as I mentioned we need majority so we can use odd number and we can use minimum of 3