Skip to content

Commit

Permalink
Zookeeper info added
Browse files Browse the repository at this point in the history
  • Loading branch information
lahin31 committed Nov 29, 2023
1 parent ae4c1d7 commit 8f3c7d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion sections/message-queue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,10 @@ Topic এর ভিতর Data Partitioning হয়ে থাকে। প্র
<img src="./images/consumer-3.png" alt="Consumer">
</p>

যেহেতু ১টি Partition কে কেবল ১টি Consumer নিতে পারবে সেজন্য consumer 3 কিছু consume করতে পারবে না।
যেহেতু ১টি Partition কে কেবল ১টি Consumer নিতে পারবে সেজন্য consumer 3 কিছু consume করতে পারবে না।

- ZooKeeper: এটিতে মূলত Kafka Cluster এর information এবং Consumer এর details সংরক্ষন করা থাকে। এটি Active Broker এর একটি লিস্ট মেইনটেইন করে। যখন কোনো Broker নষ্ট হয়ে যায় কিংবা কোনো error হলে ZooKeeper একটি notification পাঠিয়ে দেয় Kafka'র কাছে। Kafka সার্ভারের জন্য ZooKeeper থাকা বাধ্যতামূলক।

<p align="center">
<img src="./images/zookeeper.png" alt="zookeeper">
</p>
Binary file added sections/message-queue/images/zookeeper.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8f3c7d0

Please sign in to comment.