Kafka Consumers in Python - A Walkthrough

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

Комментарии • 31

  • @JacobChencha
    @JacobChencha 5 месяцев назад +11

    I came to learn Kafka, learnt that and how to write great python code!!

  • @michaelslavev
    @michaelslavev 5 месяцев назад +5

    This is briliantly explained. As a kafka admin of multiple cluster, we are now bit scared of multiple teams trying to implement consumers and producers by themself because of poor offset management. I should make some Python/JS/Java examples! Thanks.

  • @souravbarua3991
    @souravbarua3991 6 месяцев назад +6

    Great video. Waiting for this and upcoming videos. Thank you for this tutorial series 🙏.

    • @krisajenkins
      @krisajenkins 6 месяцев назад

      Glad you're enjoying it. We have quite a few planned, but if there's anything in particular you're interested in seeing, let me know. :-)

    • @souravbarua3991
      @souravbarua3991 6 месяцев назад +1

      @@krisajenkins For now I am learning from you. Eagerly waiting for next step/videos.Thank you again for this tutorial series🙏.

  • @vincentchong6005
    @vincentchong6005 5 месяцев назад +2

    OMG. I actually understand what you are talking about! Thank you sir.

  • @samable9585
    @samable9585 6 месяцев назад +2

    fantastic! will have to watch your other videos - thank again!

  • @dailypakaffairs2590
    @dailypakaffairs2590 6 месяцев назад +4

    Really a great video. I was waiting for such masterpiece on kafka with python, can't find any before. Can you also make a video on how to add a notifier_consumer (may it through email or something). Also consider configuring Kong with kafka.

  • @romankhmaladze5804
    @romankhmaladze5804 12 дней назад

    Very nice, thank you!

  • @steverosam1265
    @steverosam1265 6 месяцев назад +4

    Another great video Kris

  • @radoniainarakotonirina2856
    @radoniainarakotonirina2856 5 месяцев назад +3

    Nice vids 🎉

  • @munishkhatri33
    @munishkhatri33 6 месяцев назад +3

    Which code editor are u using in this video ?

    • @krisajenkins
      @krisajenkins 6 месяцев назад

      It’s Neovim. 👍

    • @munishkhatri33
      @munishkhatri33 6 месяцев назад

      @krisajenkins Thanks, I tried to install it, but it doesn't give type hints as I saw in your video. Any plugins required for that?

    • @krisajenkins
      @krisajenkins 6 месяцев назад +1

      @@munishkhatri33 Ah yeah, takes a little configuration. `nvim-lspconfig` is what you need, but if I were you I'd start with the Neovim Kickstart project. It's a default config which will set up lsp for you, plus a lot more.

    • @krisajenkins
      @krisajenkins 6 месяцев назад

      (I'd put a link to it, but every time I do, RUclips auto-deletes my comment. Google will guide you to it. 👍)

  • @vipulsarode2722
    @vipulsarode2722 4 месяца назад +1

    Great video, thanks! Can you tell me briefly how I can perform transformations in the consumer using Pandas, in real-time?

    • @QuixStreams
      @QuixStreams  4 месяца назад

      Glad you enjoyed it! There's a video here that goes into performing realtime stream transformations with a panda-like API: ruclips.net/video/5sqegy_EPa0/видео.html
      It's note exactly the same as Pandas, but it the underlying data's stored in Kafka it'll probably solve your problem in the same way. 🙂

    • @DataSurfer
      @DataSurfer 4 месяца назад

      I go through how to migrate Pandas code to Quix Streams code in a video. Hopefully it provides some inspiration: ruclips.net/video/FC-DrNbe5fA/видео.html

  • @yifeitong
    @yifeitong 2 месяца назад +1

    Hello, thanks for the video. Really helpful to get start to understand Kafka. I was working in server and successfully created the topic learnt from previous video, there I managed to write non-duplicate messages. Following this video, when subscribing the topic, I got no messages (None), but I do see a message in that topic. i.e. my topic is 'weather_data_demo-Yifei', when subscribing, there is a line printed: [DEBUG] [quixstreams] : Assigning topic partition "weather_data_demo-Yifei[0]", but message is always None, any hints on this ? Many thanks

    • @yifeitong
      @yifeitong 2 месяца назад

      I see, because the producer hasn't sent messages, with 'auto_offset_rest=latest' will only read new messages sent after it starts. 'earliest' will work, but after consuming the messages once, running script again, no messages obtained..

    • @sridharstreakssri
      @sridharstreakssri 23 дня назад

      @@yifeitong same issue here. found any solution?

    • @yifeitong
      @yifeitong 23 дня назад

      @@sridharstreakssri try auto_offset_reset earliest ?

  • @DePhpBug
    @DePhpBug 5 месяцев назад +1

    I'm still new to Kafka , if i use socket io , should this socket io server sit in Kafka? to manage it?

    • @QuixStreams
      @QuixStreams  5 месяцев назад +1

      Apache Kafka is essentially a distributed server running in a cluster. You coudn't host your socket.io server inside of Kafka but it could run in the same infrastructure (one option is in Quix Cloud, which can run any Docker container). From there you could use a socket.io client in Quix Streams

    • @DePhpBug
      @DePhpBug 5 месяцев назад

      @@QuixStreams Thanks :)

  • @wagyumedia
    @wagyumedia 2 месяца назад

    insta subscribed

  • @michelchaghoury9629
    @michelchaghoury9629 5 месяцев назад +1

    i have a question, will it gonna listen for ever if i am in a case were i want to have this code written to be always listenning, and never stops, if i run that code and leave it will it works as i want or i need to do something in addition? @Quix

    • @QuixStreams
      @QuixStreams  5 месяцев назад

      Hi, this code will run forever, unless there is an issue like the machine it's running on being turned off, it's also not production code so adding some error handling etc would certainly be a good idea. If you want to run this in production with resiliency and SLA's check out Quix Cloud -> quix.io/signup