Setup Kafka and Zookeeper with brew(homebrew) on Mac operating system: Use Kafka tool(UI) to Publish message and monitor Kafka topic message.

Kafka is publish subscribe messaging system which are most commonly used in asynchronous work flow. Homebrew is a software package management system that simplifies the installation of software on Apple's macOS operating system. Using brew Kafka and Zookeeper can installed & setup with ease.

Install zookeeper using brew(homebrew):
brew install zookeeper
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core, homebrew/cask).
==> New Formulae
bundletool         geant4             i2pd               mallet             opensubdiv         opentracing-cpp    stanford-corenlp   tdlib
==> Updated Formulae
....
.....
==> Downloading https://homebrew.bintray.com/bottles/zookeeper-3.4.12.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring zookeeper-3.4.12.high_sierra.bottle.tar.gz
==> Caveats
To have launchd start zookeeper now and restart at login:
  brew services start zookeeper
Or, if you don't want/need a background service you can just run:
  zkServer start
==> Summary
🍺  /usr/local/Cellar/zookeeper/3.4.12: 242 files, 32.9MB
Where is installation directory of zookeeper : /usr/local/Cellar/zookeeper

Install Kafka Using brew(hombrew):
➜  brew install kafka
Updating Homebrew...
==> Downloading https://homebrew.bintray.com/bottles/kafka-2.0.0.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring kafka-2.0.0.high_sierra.bottle.tar.gz
==> Caveats
To have launchd start kafka now and restart at login:
  brew services start kafka
Or, if you don't want/need a background service you can just run:
  zookeeper-server-start /usr/local/etc/kafka/zookeeper.properties & kafka-server-start /usr/local/etc/kafka/server.properties
==> Summary
🍺  /usr/local/Cellar/kafka/2.0.0: 160 files, 46.8MB
Where is installation directory of Kafka : /usr/local/Cellar/kafka


Kafka Producer and Consumer(Command line tool)

Create Kafka topic: Create topic "topic-devinline-1" with replication factor 1 and partition 1
➜  bin pwd
/usr/local/Cellar/kafka/2.0.0/bin
➜  bin sh kafka-topics --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic topic-devinline-1 
Created topic "topic-devinline-1".

Start producer:
➜  bin kafka-console-producer --broker-list localhost:9092 --topic topic-devinline-1                       
>Hello, Fist message
>Bye, Message
>
Start consumer:
➜  bin kafka-console-consumer --bootstrap-server localhost:9092 --topic  topic-devinline-1 --from-beginning
Hello, Fist message
Bye, Message

Kafka UI tool(Kafka Tool)

An UI tool to analyse and post/consume messages in topic. Download Kafka tool
As we have setup Zookeeper and Kafka locally, we can use following configuration to setup Kafka tool.

Analyse Kafka Topic through UI:
Open Topic "topic-devinline-1" and partition-0. Click green play button and find both message posted earlier.

Post Message from UI tool in Kafka topic:
1. Select Partition-0, Select Data tab and Click + 
2. Post message in text-box and click Add.
3. Click on green-play button and message posted is available in topic.


Note: If you find text box for Key also, provide a key along with message. It can be configured in preferences.
Kafka tool -> Preferences -> topics -> Default content type (Key = No Key)

100 Comments

  1. I thought protecting the website from the hackers is a hectic task. This post makes it easy for the developers and business people to protect the website. Keep sharing posts like this…
    Hire Web Developerc
    Hire Wordpress Programmer
    Hire PHP Developer India
    Mobile App Development India
    Hire Opencart Developer

    ReplyDelete
  2. My friend website has been infected with malware. The tips shared in this post helps me in a better way and guide me to protect my website.
    Hire Dedicated Wordpress Developer
    Smarty Developers
    Hire Dedicated Web Developers
    Hire Dedicated Php Developer
    Hire Dedicated Opencart Developers

    ReplyDelete
  3. Everything has its value. Thanks for sharing this informative information with us. GOOD works! satta king

    ReplyDelete
  4. A round of applause for your article.Much thanks again. Really Cool. Satta king

    ReplyDelete
  5. Super site! I am Loving it!! Will return once more, I’m taking your food additionally, Thanks. Oregon Business Registry

    ReplyDelete
  6. wow your arctile was very informative and it has solved my many quiries.
    Please more information on different topic please visit these links given bellow...
    Satta Bazar

    ReplyDelete
  7. I truly like you're composing style, incredible data, thankyou for posting. 먹튀검증

    ReplyDelete
  8. I want to say thanks to you. I have bookmark your site for future updates. 토토사이트

    ReplyDelete
  9. It is extremely nice to see the greatest details presented in an easy and understanding manner. 먹튀사이트

    ReplyDelete
  10. Mick Youthful is experts in web developers denver in Lincoln and also has a firm called Regional Professions Website Design that are experts in making web sites for neighborhood professions such as plumbing technicians, electrical contractors, painter and also designers, etc.

    ReplyDelete
  11. I am very impressed with your writing I couldn't think of this, but it's amazing! I wrote several posts similar to this one, but please come and see! 토토사이트

    ReplyDelete
  12. Hello. I'm subscribed to your posts. You inspire me a lot.카지노사이트I am so grateful.

    ReplyDelete
  13. Hello ! I am a student writing a report on the subject of your post.Your article is an article with all the content and topics. I've ever wanted . Thanks to this, it will be of great help to the report I am preparing now.Thanks for your hard work. And if you have time, please visit my site as well. The site name is 토토커뮤니티.Thank you for this wonderful post! It has long been extremely helpful. 사설토토사이트I wish that you will carry on posting your knowledge with us.Simply unadulterated brilliance from you here. I have never expected something not as much as this from you and 먹튀검증 have not confounded me by any reach out of the inventive vitality. I acknowledge you will keep the quality work going on.


    ReplyDelete
  14. Great post! I am actually getting ready to across this information, is very helpful my friend. Also great blog here with all of the valuable information you have. Keep up the good work you are doing here. 토토사이트

    ReplyDelete
  15. I think about it is most required for making more on this get engaged. 토토사이트

    ReplyDelete
  16. It's perfect.카지노사이트Can you look at your writing and bear with me?

    ReplyDelete
  17. best site for satta king result, leak number all game record charts. We provide 100% fix number.

    ReplyDelete
  18. First of all, thank you for your post. Your posts are neatly organized with the information I want, so there are plenty of resources to reference. I bookmark this site and will find your posts frequently in the future. Thanks again ^^ 바둑이사이트

    ReplyDelete
  19. You did a great job writing. I have the same interests, so please bear with me here.먹튀검증

    ReplyDelete
  20. must say this blog loads a lot faster then 먹튀검증.Can you suggest a good web hosting provider at a reasonableprice? Thank you, I appreciate it!

    ReplyDelete
  21. First of all, thank you for your post. 먹튀검증 Your posts are neatly organized with the information I want, so there are plenty of resources to reference. I bookmark this site and will find your posts frequently in the future. Thanks again ^^

    ReplyDelete
  22. Looking at this article, I miss the time when I didn't wear a mask. 먹튀검증업체 Hopefully this corona will end soon. My blog is a blog that mainly posts pictures of daily life before Corona and landscapes at that time. If you want to remember that time again, please visit us.

    ReplyDelete
  23. I’m not sure exactly why but this weblog is loading incredibly slow for me. Is anyone else having this problem or is it a problem on my end? I’ll check back later on and see if the problem still exists. 안전놀이터순위

    ReplyDelete
  24. Nice post love it check my site for fast Satta King we provide superfast and all time result Satta King

    ReplyDelete
  25. I got a web site from where I be capable of really obtain valuable information regarding my study and knowledge.
    Great Article… Good Job… Thanks For Sharing…

    Website:부산오피

    ReplyDelete
  26. I've been looking for photos and articles on this topic over the past few days due to a school assignment, and I'm really happy to find a post with the material I was looking for! I bookmark and will come often! Thanks :D 먹튀신고

    ReplyDelete
  27. What a post I've been looking for! I'm very happy to finally read this post. 바둑이사이트 Thank you very much. Can I refer to your post on my website? Your post touched me a lot and helped me a lot. If you have any questions, please visit my site and read what kind of posts I am posting. I am sure it will be interesting.

    ReplyDelete
  28. Hi there i amm kavin, its my first occasion to commenting anywhere,
    when i read this paragraph i thought i could also
    create comment due to this sensible post. 출장안마

    ReplyDelete
  29. What an interesting story! I'm glad I finally found what I was looking for Kèo hay.

    ReplyDelete
  30. Nice post love it check my site for fast Satta King we provide superfast and all time result SattaKing also check सट्टा किंग and Satta matka

    ReplyDelete
  31. I've seen articles on the same subject many times, but your writing is the simplest and clearest of them. I will refer to 메이저놀이터추천

    ReplyDelete
  32. best site for satta king result, leak number all game record charts. We provide 100% fix number direct from Satta king gali company which includes all famous games like Satta king Desawar, Gali Satta, Ghaziabad, Faridabad, Shri Ganesh Satta, Taj Satta King, charminar and other games of Satta Market Matka is also a simple game and essentially is a form of old lottery games. Ratan Khatri was the founder of this game in the 70 century and was become popular up until the 90 century. The game is not played that much anymore mostly in the regions of North India and Pakistan. Instead, many enjoy the lottery games Satta king result more so these days.

    Here is an example card. satta-king.online is the no1 satta king site where you can get the fastest Satta result, Satta king leak number (confirm jodi), Old Satta King ghaziabad, Daily leak Jodi, Desawar Jodi, Satta king faridabad, Satta record chart, Satta king taj, Gali Satta result, Ghaziabad Satta Result, Satta Bazar result and 100% passing fix Jodi today.

    ReplyDelete
  33. Oh, the data you've shared in this incredible article is just magnificent. I am definitely going to make more use of this data in my future projects. You must continue sharing more data like this with us. 메이저사설놀이터

    ReplyDelete
  34. Thanks for the blog filled with so many information. Stopping by your blog helped me to get what I was looking for. Now my task has become as easy as ABC. 메이저안전놀이터

    ReplyDelete
  35. Thanks for an interesting blog. What else may I get that sort of info written in such a perfect approach? I have an undertaking that I am just now operating on, and I have been on the lookout for such info 메이저안전놀이터 It's amazing. I want to learn your writing skills. In fact, I also have a website. If you are okay, please visit once and leave your opinion. Thank you.

    ReplyDelete
  36. Your writing is perfect and complete. Kèo hay However, I think it will be more wonderful if your post includes additional topics that I am thinking of. I have a lot of posts on my site similar to your topic. Would you like to visit once?

    ReplyDelete
  37. Looking at this article, I miss the time when I didn't wear a mask. Hopefully this corona will end soon. My blog is a blog that mainly posts pictures of daily life before Corona and landscapes at that time. If you want to remember that time again, please visit us. Keo bong da

    ReplyDelete
  38. Great job for publishing such a beneficial온라인카지노 web site

    ReplyDelete
  39. This was an extremely nice post.온라인카지노 Taking a few minutes and actual effort to generate a top notch article.

    ReplyDelete
  40. Its an amazing website, I really enjoy reading your articles. 스포츠토토

    ReplyDelete
  41. This is really helpful post and very informative there is no doubt about it. 온라인카지노

    ReplyDelete
  42. Hi there colleagues, its wonderful paragraph on the topic of tutoringand completely explained,
    keep it up all the time.대구오피

    ReplyDelete
  43. The vacation trades offered are evaluated a variety of in the chosen and simply good value all around the world. Those hostels are normally based towards households which you’ll find accented via charming shores promoting crystal-clear fishing holes, concurrent of one’s Ocean. Hotels Discounts 메이저놀이터

    ReplyDelete
  44. Recently, I have started to read a lot of unique articles on different sites, and I am enjoying that a lot. Although, I must tell you that I still like the articles here a lot. They are also unique in their own way. 안전놀이터추천

    ReplyDelete
  45. Of course, your article is good enough, but I thought it would be much better to see professional photos and videos together. There are articles and photos on these topics on my homepage, so please visit and share your opinions. keonhacai

    ReplyDelete
  46. Pretty nice post. I just stumbled upon your weblog and wanted to say that I have really enjoyed browsing your blog posts. After all I’ll be subscribing to your feed and I hope you write again soon 먹튀검증업체 I would like to write an article based on your article. When can I ask for a review?!

    ReplyDelete
  47. Thanks , I’ve just been looking for info about this subject for a long time and yours is the best I have found out till now. But, what in regards to the bottom line? Are you certain in regards to the source? keonhacái

    ReplyDelete
  48. Been looking for this article for long time ago and finally found here. Thanks for the tips and sharing this post. appreciate!Please check out my website too and let me know what you think.
    토토

    ReplyDelete
  49. Nice Post Your content is very inspiring and appriciating I really like it please visit my site for kolkata fatafat supper fast kolkata fatafat result and also visit our kolkata ff result you can also visit kolkata fatafat result for live result or for old or previous result you can check out kolkata old result a To find the lucky number in kolkata fatafat lottery you can check kolkata fatafat lottery

    ReplyDelete
  50. It's actually remarkable. I marvel you composed such a great write-up. I'm still delighted. Check out the response of these individuals currently. Every person agrees with me. As an individual that can truly associate, I do not intend to conserve praises. You need to constantly be an author. 바카라사이트

    ReplyDelete
  51. Hello, I read the post well. soi kèo It's a really interesting topic and it has helped me a lot. In fact, I also run a website with similar content to your posting. Please visit once

    ReplyDelete
  52. As soon as I noticed this internet site I went on reddit to share some of the love with them. 먹튀

    ReplyDelete
  53. Your ideas inspired me very much. roulette It's amazing. I want to learn your writing skills. In fact, I also have a website. If you are okay, please visit once and leave your opinion. Thank you.


    ReplyDelete
  54. Hello, I am one of the most impressed people in your article. sòng bạc I'm very curious about how you write such a good article. Are you an expert on this subject? I think so. Thank you again for allowing me to read these posts, and have a nice day today. Thank you.


    ReplyDelete
  55. In my opinion, the item you posted is perfect for being selected as the best item of the year. You seem to be a genius to combine 먹튀사이트 and . Please think of more new items in the future!

    ReplyDelete
  56. 카지노사이트검증Dec 4, 2021, 7:00:00 PM

    What a nice post! I'm so happy to read this. 카지노사이트검증 What you wrote was very helpful to me. Thank you. Actually, I run a site similar to you. If you have time, could you visit my site? Please leave your comments after reading what I wrote. If you do so, I will actively reflect your opinion. I think it will be a great help to run my site. Have a good day.


    ReplyDelete
  57. 메이저사이트순위Dec 7, 2021, 8:50:00 PM

    Hi there, I simply hopped over in your website by way of StumbleUpon. Now not one thing I’d typically learn, but I favored your emotions none the less. Thank you for making something worth reading. 메이저사이트순위

    ReplyDelete
  58. As I am looking at your writing, 온카지노 I regret being unable to do outdoor activities due to Corona 19, and I miss my old daily life. If you also miss the daily life of those days, would you please visit my site once? My site is a site where I post about photos and daily life when I was free.


    ReplyDelete
  59. Nhà cái lừa đảoDec 10, 2021, 7:37:00 PM

    While looking for articles on these topics, I came across this article on the site here. As I read your article, I felt like an expert in this field. I have several articles on these topics posted on my site. Could you please visit my homepage? Nhà cái lừa đảo


    ReplyDelete
  60. Hello. I'm subscribed to your posts. You inspire me a lot.바카라사이트I am so grateful.

    ReplyDelete
  61. From one day, I noticed that many people post a lot of articles related to 온라인슬롯. Among them, I think your article is the best among them!!I

    ReplyDelete
  62. Hello, I read the post well. 메이저토토 It's a really interesting topic and it has helped me a lot. In fact, I also run a website with similar content to your posting. Please visit once

    ReplyDelete
  63. I accidentally searched and visited your site. I still saw several posts during my visit, but the text was neat and readable. I will quote this post and post it on my blog. Would you like to visit my blog later? 메이저놀이터추천

    ReplyDelete
  64. Excellent read, I just passed this onto a friend who was doing a little research on that. And he actually bought me lunch as I found it for him smile Therefore let me rephrase that: Thank you for lunch. 룰렛".


    ReplyDelete
  65. I am contemplating this topic. I think you can solve my problems. My site is at "온라인카지노". I hope you can help me.

    ReplyDelete
  66. 안전놀이터모음Jan 7, 2022, 1:01:00 AM

    What a nice post! I'm so happy to read this. 안전놀이터모음 What you wrote was very helpful to me. Thank you. Actually, I run a site similar to you. If you have time, could you visit my site? Please leave your comments after reading what I wrote. If you do so, I will actively reflect your opinion. I think it will be a great help to run my site. Have a good day.

    ReplyDelete
  67. What an interesting story! I'm glad I finally found what I was looking for 메리트카지노.

    ReplyDelete
  68. You made some good points there. I did a Google search about the topic and found most people will believe your blog. 먹튀검증

    ReplyDelete
  69. Your Site is very nice, and it's very helping us this post is unique and interesting, thank you for sharing this awesome information. and visit our blog site also.
    Satta King

    ReplyDelete
  70. Traditional bookstores have always existed on high streets, but in the digital age, the internet is proving to become a serious competitor to traditional brick and mortar stores. This article examines both sides of the coin and provides an appropriate insight into the phenomenon of shopping of books online. 메이저사이트추천

    ReplyDelete
  71. With having so much content and articles do you ever run into any issues of plagiarism or copyright violation? My site has a lot of exclusive content I’ve either authored myself or outsourced but it looks like a lot of it is popping it up all over the internet without my agreement. Do you know any ways to help protect against content from being stolen? I’d genuinely appreciate it.

    야설
    대딸방
    횟수 무제한 출장
    스포츠마사지
    바카라사이트

    ReplyDelete
  72. This is very interesting, You’re an excessively skilled bloggerI have joined your rss feed and sit up for in quest of extra of your wonderful post.
    룰렛사이트탑

    ReplyDelete
  73. I've been searching for hours on this topic and finally found your post. 슬롯사이트 , I have read your post and I am very impressed. We prefer your opinion and will visit this site frequently to refer to your opinion. When would you like to visit my site?

    ReplyDelete
  74. What a nice post! I'm so happy to read this. 안전놀이터모음 What you wrote was very helpful to me. Thank you. Actually, I run a site similar to you. If you have time, could you visit my site? Please leave your comments after reading what I wrote. If you do so, I will actively reflect your opinion. I think it will be a great help to run my site. Have a good day.

    ReplyDelete
  75. 토토사이트
    토토


    Hey there! Someone in my Facebook group shared this site with us so I came to look it over.

    I’m definitely enjoying the information. I’m book-marking and will be tweeting this to
    my followers! Fantastic blog and wonderful design and style.

    ReplyDelete
  76. 스포츠중계
    토토


    At this moment I am going to do my breakfast, once having my breakfast coming again to read further news.

    ReplyDelete
  77. 배트맨토토
    토토사이트


    Greetings! Very useful advice in this particular
    post! It is the little changes which will make the
    most important changes. Thanks for sharing!

    ReplyDelete
  78. 고스톱


    I enjoyed over read your blog post. Your blog have nice information, I got good ideas from this amazing blog. I am always searching like this type blog post.

    ReplyDelete
  79. ufabet1688x สมัคร เว็บแทงบอลออนไลน์ ยูฟ่าเบท ที่ได้มาตรฐานระดับโลก เว็บ UFABET มือถือ ที่ดีที่สุดในประเทศไทย แทงบอลออนไลน์ คาสิโน บาคาร่า สล๊อตยูฟ่าเบท

    ReplyDelete
  80. บริการทุกระดับประทับใจ เลือกเล่น betflixsupervip มีหลากหลายเกมสล็อต ไม่ว่าจะเป็น สล็อต joker, pgslotgame , super-slot ที่หาเล่นได้ทั้งหมดจาก betflixsupervip ของเรา ทางเราเปิดบริการตลอด 24 ชั่วโมง ฝากถอนได้ดั่งใจ สล็อตออนไลน์

    ReplyDelete
  81. ที่สุดแห่งบาคาร่าออนไลน์ biobetgaming บริการตลอด 24 ชั่วโมง บริการด้านเกมคาสิโนหลากหลายเช่น บาคาร่าออนไลน์ รูเร็ท แบล็คแจ็ค เสือมังกร ไฮโล และอื่นๆอีกมากมาย ที่มาพร้อมกับโปรโมชั่นโดนใจเน้นๆ ที่นี่ที่ เว็บบาคาร่า

    ReplyDelete
  82. Hi there, I simply hopped over in your website by way of StumbleUpon. Now not one thing I’d typically learn, but I favored your emotions none the less. Thank you for making something worth reading. 메이저사이트순위

    ReplyDelete
  83. This is just the information I am finding everywhere. Thanks for your blog, I just subscribe your blog. This is a nice blog. Desawar Satta King

    ReplyDelete
  84. I am really enjoying reading your well written articles. I think you spend numerous effort and time updating your blog.
    Backlinks2022

    ReplyDelete
  85. Sach A Informative Website. Daily Updated Info. Really Like It And Bookmarked It. Visit Daily To Keep Me Update.

    ReplyDelete
  86. I have been looking for articles on these topics for a long time. safetoto I don't know how grateful you are for posting on this topic. Thank you for the numerous articles on this site, I will subscribe to those links in my bookmarks and visit them often. Have a nice day

    ReplyDelete
  87. An intriguing discussion may be worth comment. I’m sure you should write much more about this topic, may well be described as a taboo subject but generally folks are too little to chat on such topics. An additional. Cheers 토토사이트

    ReplyDelete
  88. Maybe the most great piece of Mac operating system X v10.5 Panther, in any case, is Apple's internet browser, Safari. https://macosxtutorial.com

    ReplyDelete
  89. Your time is important to you as a business owner. I value Go Big LA's excellent and efficient use of digital marketing because of this. Without wasting your time or resources, they may assist you in reaching your objectives. Your quest is ended if you are a dentist seeking for internet marketing for dentists. Go Big La is available to provide you with the best options.

    ReplyDelete
Previous Post Next Post