Kafka installation using Docker and Docker Compose | Kafka | Docker | Docker Compose

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ต.ค. 2024
  • We will be installing Kafka on our local machine using docker and docker compose. when we use docker to run any service like Kafka, MySQL, Redis etc then it becomes platform independent. This gives us the flexibility to run our services on any operating system without doing any changes or installing new dependencies to the Operating system that you are using
    If you follow the following tutorial then you can run Kafka on below operating system
    Windows
    Mac
    Any flavour/Distribution of Linux
    Docker Ports:
    • Port configuration in ...
    Article link

ความคิดเห็น • 86

  • @suyunovjasurbek
    @suyunovjasurbek ปีที่แล้ว +1

    Onalarini emsin blin ishqilib bir nima qilib ishlatdim, Malades Hindistaniskiy Englishni yorivirdungiz lekin , oma omadingni bersin , Rahmat

  • @yanuaryusufadika7045
    @yanuaryusufadika7045 4 ปีที่แล้ว +1

    Don't be mad, but you're Indian person that I can listening you clearly rather than any other Indian. In this point, you're the best. Thanks for the tutorial dude

    • @richJinny
      @richJinny 4 ปีที่แล้ว

      Yes thank you so much, chutiya.

  • @ironside915
    @ironside915 3 ปีที่แล้ว +7

    Thanks a lot! Very detailed and well paced, you made me fall in love with docker again!

  • @amaanmohammad1190
    @amaanmohammad1190 11 หลายเดือนก่อน

    Clear - Concise and to the point. Great Work

  • @kalhanpamuditha1695
    @kalhanpamuditha1695 4 ปีที่แล้ว +15

    Could you please do a tutorial about how we can implement two simple independent micro services one is producer and the other one is consumer, with docker
    Thanks appreciate this video

    • @richardbravix8145
      @richardbravix8145 3 ปีที่แล้ว +1

      did u find any good tutorial doing that ??

    • @piyushtyagi7653
      @piyushtyagi7653 3 ปีที่แล้ว

      Looking for the same

    • @piyushtyagi7653
      @piyushtyagi7653 3 ปีที่แล้ว

      Here is what i found -
      th-cam.com/video/fCt0L4LwB9w/w-d-xo.html
      th-cam.com/video/NjHYWEV_E_o/w-d-xo.html
      th-cam.com/video/IncG0_XSSBg/w-d-xo.html

  • @anikethdeshpande8336
    @anikethdeshpande8336 ปีที่แล้ว +1

    detailed explanation! best for beginners!

    • @amaanmohammad1190
      @amaanmohammad1190 11 หลายเดือนก่อน +2

      Aniketh bhai aap yahan kaise ? What a crazy coincidence XD

    • @anikethdeshpande8336
      @anikethdeshpande8336 11 หลายเดือนก่อน

      @@amaanmohammad1190 we will have many co incidences I think 😄😄

  • @ayaanandamaansworld6706
    @ayaanandamaansworld6706 3 ปีที่แล้ว +2

    Thank you for the awesome tutorial and the explanation.
    Question :
    Is it safe to use the images directly in docker file ?
    Could you please provide an alternate and secure way without pointing to images ?
    What if these images goes wrong ? how to safely recover ?

  • @tanmoydattagupta4718
    @tanmoydattagupta4718 4 ปีที่แล้ว

    Simple and concise what I need to quickly setup Kafka.. Thanks and I really appreciate the video.

  • @satendrapal9275
    @satendrapal9275 3 หลายเดือนก่อน

    Very useful video

  • @aniketpatel3994
    @aniketpatel3994 3 ปีที่แล้ว

    Amazing content!! Only 9.63k subscribers are not fair.

  • @sanjeetbehera5620
    @sanjeetbehera5620 3 ปีที่แล้ว

    Thanks a lot! Nice tutorial. I followed the steps and successfully able to run kafka on docker.

  • @VM-yp2rl
    @VM-yp2rl ปีที่แล้ว

    Question: what is the best practice to run consumer.php file so that it reads constantly and processes kafka messages. Simply, if the server reboots, etc., then you need to make sure that the consumer.php file is running? I must run it with cron or exist some more elegant solutions? And if possible, please explain the best way to do this in docker

  • @aleksandrkurilov2599
    @aleksandrkurilov2599 ปีที่แล้ว

    Thank you a lot! I've been looking exactly for this.

  • @rohitkrishnamoorthy334
    @rohitkrishnamoorthy334 3 ปีที่แล้ว

    thanks a lot your explanation is so easy to understand.

  • @geekthegeek730
    @geekthegeek730 4 ปีที่แล้ว +1

    Thanks for these amazing tutorials

  • @amitabhranjan9668
    @amitabhranjan9668 3 ปีที่แล้ว

    Great video. Thanks for sharing. Can you make one for docker+hadoop+spark using intellij

  • @jayav3137
    @jayav3137 2 ปีที่แล้ว

    Excellent and Simple Explanation. Helped me a lot. Thank Youu :)

  • @khalifathullahkhan8873
    @khalifathullahkhan8873 4 ปีที่แล้ว

    Great Explanation !... appreciate your efforts to explain it so beautifully. thanks

  • @vkg.codefactory
    @vkg.codefactory 3 ปีที่แล้ว

    Nice work, a very good video, keep it up, thanks for creating and sharing it

  • @eduardocruz1882
    @eduardocruz1882 3 ปีที่แล้ว

    Just a question, If Im using pypkafka , should i use 'localhost:9092' or 'kafka:9092'

  • @Hitesh-Salgotra
    @Hitesh-Salgotra 3 ปีที่แล้ว

    simply amazing to the point explanation !! i love it i access your whole playlist

  • @hacker007theone6
    @hacker007theone6 2 ปีที่แล้ว

    @SelfTuts Please tell the fonts name you are using in ubuntu and intellij.

  • @thanhtungvu423
    @thanhtungvu423 4 ปีที่แล้ว +1

    very useful video, thanks sir

  • @kirasteph5480
    @kirasteph5480 2 ปีที่แล้ว

    Thank you man! You helped me a lot

  • @nazgulzholmagambetova1198
    @nazgulzholmagambetova1198 2 ปีที่แล้ว

    Brilliant video ! Thank you so much !

  • @zishanshaikh3068
    @zishanshaikh3068 4 ปีที่แล้ว

    Thank you.. great work.. please make a video on kubernetes

  • @minemoviesss
    @minemoviesss 4 ปีที่แล้ว +1

    Can we deploy datascience models using docker?

  • @Marceliino1
    @Marceliino1 4 ปีที่แล้ว +2

    Excelent video...but could you please talk a little more slowly?

  • @kamala481
    @kamala481 3 ปีที่แล้ว

    Good session. Can you provide a session to install Kafka confluent platform in Kubernetes/docker?

  • @rahdartus8942
    @rahdartus8942 ปีที่แล้ว

    great work 👍

  • @mohamedreda6299
    @mohamedreda6299 ปีที่แล้ว

    thank you sir, you help me so much

  • @amitabhranjan2815
    @amitabhranjan2815 3 ปีที่แล้ว

    Thank you sir. This was really helpful

  • @joaocsv
    @joaocsv 4 ปีที่แล้ว

    Thanks, simple, and objective.

  • @weitanglau162
    @weitanglau162 3 ปีที่แล้ว

    Do you know how to deploy kafka cluster on kubernetes?

  • @vuongphamquan9417
    @vuongphamquan9417 4 ปีที่แล้ว +1

    thanks for your sharing :)) I'm very grateful.

  • @michawodarkiewicz371
    @michawodarkiewicz371 4 ปีที่แล้ว +1

    Thanks, informative video!

  • @jaykhimani
    @jaykhimani 4 ปีที่แล้ว +1

    Any specific reason to use wurstmeister image and not the official zookeeper image?

  • @_SoundByte_
    @_SoundByte_ 4 ปีที่แล้ว

    beautiful. simple and clear

  • @nandiprasad.madikeri
    @nandiprasad.madikeri 2 ปีที่แล้ว

    Osm explaination

  • @hamedsoleimanian7958
    @hamedsoleimanian7958 3 ปีที่แล้ว

    it was soooo informative mate , tnx

  • @chaitanyaGudimalla
    @chaitanyaGudimalla ปีที่แล้ว

    My docker compose version is v2.18.1. So when i created the yml file and tried to run it gives me an error docker-compose.yml: (root) Additional property Version is not allowed. Can you please help me resolve this

    • @horsthorstmann7921
      @horsthorstmann7921 ปีที่แล้ว

      You do not need docker-compose anymore as compose is now a subcommand of docker.

  • @doctorag1135
    @doctorag1135 ปีที่แล้ว

    how come you ar eusing version 3 for docker-compose becuae the latest is v2.18.1??? how and why

    • @horsthorstmann7921
      @horsthorstmann7921 ปีที่แล้ว

      You do not need docker-compose anymore as compose is now a subcommand of docker.

  • @shayta_
    @shayta_ 4 ปีที่แล้ว

    Very good tutorial, keep up with your work!

  • @krishnachaitanya4675
    @krishnachaitanya4675 ปีที่แล้ว

    I'm trying to do the same in widows but I'm getting an error:
    missing mandatory config: KAFKA_ZOOKEEPER_CONNECT
    Can anyone help me on this?
    Thanks in advance.

  • @charbelsadaka4034
    @charbelsadaka4034 4 ปีที่แล้ว

    Thank you very much. Perfect!!!

  • @TravelwithVedanshi
    @TravelwithVedanshi 2 ปีที่แล้ว

    Very nice

  • @sisuser4150
    @sisuser4150 4 ปีที่แล้ว

    Hi, how do you setup sasl plaintext authentication under this?

  • @ajay-lu5gh
    @ajay-lu5gh ปีที่แล้ว

    Thanks a lot!

  • @anutpat
    @anutpat 4 ปีที่แล้ว

    great tutorial. Thank you.

  • @raptyaxa5771
    @raptyaxa5771 ปีที่แล้ว

    no need docker network to connect kafka and zookeeper?

    • @horsthorstmann7921
      @horsthorstmann7921 ปีที่แล้ว

      When you look at 14:38 you see that a common network is started. The name of this network is combined from the directory name and "default".

  • @precisionist8568
    @precisionist8568 3 ปีที่แล้ว +1

    it does not run kafka(zookeper work) now

  • @yuriikoval2453
    @yuriikoval2453 3 ปีที่แล้ว

    Great tutorial!

  • @R-Kannada-DevOps
    @R-Kannada-DevOps 2 ปีที่แล้ว

    Fantastic

  • @marianmereuta6307
    @marianmereuta6307 3 ปีที่แล้ว

    thanks,very useful

  • @bodyakov4483
    @bodyakov4483 2 ปีที่แล้ว

    amazing

  • @Amarnath-ik4fy
    @Amarnath-ik4fy 3 ปีที่แล้ว

    Getting unauthorised incorrect password or username while pulling the Zookeeper image

  • @munibafirdos6585
    @munibafirdos6585 3 ปีที่แล้ว

    Thanks brother :)

  • @MyBinaryLife
    @MyBinaryLife ปีที่แล้ว

    article link doesnt work

  • @himanshujani5758
    @himanshujani5758 2 ปีที่แล้ว

    great

  • @kalhanpamuditha1695
    @kalhanpamuditha1695 4 ปีที่แล้ว +1

    Thanks

  •  4 ปีที่แล้ว

    thank you

  • @johnn1950
    @johnn1950 4 ปีที่แล้ว

    After ./bin/kafka-topics.sh --create --zookeeper zookeeper=2181 --replication-factor 1 --partitions 1 --topic events
    I get the following error msg:
    ERROR Unable to resolve address: zookeeper=2181:2181 (org.apache.zookeeper.client.StaticHostProvider)
    java.net.UnknownHostException: zookeeper=2181: Name does not resolve.....
    Any idea what to do?

    • @johnn1950
      @johnn1950 4 ปีที่แล้ว

      Problem was a typo :/ (see below correct version):
      ./bin/@t --create --zookeeper zookeeper=2181 --replication-factor 1 --partitions 1 --topic events
      Thanks for the great video!!!

    • @codewithrajranjan
      @codewithrajranjan  4 ปีที่แล้ว

      Thanks man

  • @adityaroy4745
    @adityaroy4745 4 ปีที่แล้ว

    thanks a lot

  • @nitishkr1993
    @nitishkr1993 4 ปีที่แล้ว

    Please help i am unable to go inside opt folder..getting error permission denied

    • @codewithrajranjan
      @codewithrajranjan  4 ปีที่แล้ว

      Use root user to go inside opt folder

    • @nitishkr1993
      @nitishkr1993 4 ปีที่แล้ว

      @@codewithrajranjan Can you give example...how?..Thanks for valuable reply

    • @jason87789
      @jason87789 4 ปีที่แล้ว +1

      1 month ago
      $ docker exec -it kafka /bin/sh
      the input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty'
      @SelfTuts: I am also not able to go inside . Getting message as above

    • @jason87789
      @jason87789 4 ปีที่แล้ว +3

      My issue is resolved if i use powershell instead of bash shell. Hope it helps someone

    • @minemoviesss
      @minemoviesss 4 ปีที่แล้ว +1

      @@jason87789 most of the command not working in normal prompt, power shell should be used

  • @kenchang3456
    @kenchang3456 4 ปีที่แล้ว

    Looks like selftuts.com is down.

  • @swapnakumari1884
    @swapnakumari1884 2 ปีที่แล้ว

    It is better to show all dependency softwares installations instead of showing only kafka installation. So This video is not for the beginners. We need Virutal box, and any type of linux operating system , docker, docker compose installation before we follow this video of kafa installation. I wish you give the viewers complete prerequisite software installations tutorial before you proceed to showing kafka installation.

  • @happy0911080522
    @happy0911080522 4 ปีที่แล้ว

    thanks