Kafka Consumers in Python - A Walkthrough

  Рет қаралды 6,651

Quix

Quix

Күн бұрын

Пікірлер: 32
@northjosh1
@northjosh1 2 күн бұрын
This is incredible. Came to learn some Kafka but ended up learning great Python. Thanks a lot!
@JacobChencha
@JacobChencha 5 ай бұрын
I came to learn Kafka, learnt that and how to write great python code!!
@michaelslavev
@michaelslavev 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 ай бұрын
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 ай бұрын
@@krisajenkins For now I am learning from you. Eagerly waiting for next step/videos.Thank you again for this tutorial series🙏.
@dailypakaffairs2590
@dailypakaffairs2590 6 ай бұрын
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.
@vincentchong6005
@vincentchong6005 5 ай бұрын
OMG. I actually understand what you are talking about! Thank you sir.
@QuixStreams
@QuixStreams 5 ай бұрын
You're welcome!
@samable9585
@samable9585 6 ай бұрын
fantastic! will have to watch your other videos - thank again!
@steverosam1265
@steverosam1265 6 ай бұрын
Another great video Kris
@krisajenkins
@krisajenkins 6 ай бұрын
Thanks! 🙂
@romankhmaladze5804
@romankhmaladze5804 17 күн бұрын
Very nice, thank you!
@vipulsarode2722
@vipulsarode2722 4 ай бұрын
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: kzbin.info/www/bejne/a6TUlpqvlKqDl5I 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: kzbin.info/www/bejne/fHSQdaWEl8ponKM
@radoniainarakotonirina2856
@radoniainarakotonirina2856 5 ай бұрын
Nice vids 🎉
@yifeitong
@yifeitong 2 ай бұрын
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 27 күн бұрын
@@yifeitong same issue here. found any solution?
@yifeitong
@yifeitong 27 күн бұрын
@@sridharstreakssri try auto_offset_reset earliest ?
@munishkhatri33
@munishkhatri33 6 ай бұрын
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 ай бұрын
@@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, KZbin auto-deletes my comment. Google will guide you to it. 👍)
@DePhpBug
@DePhpBug 5 ай бұрын
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 ай бұрын
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 ай бұрын
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
A Simple Kafka and Python Walkthrough
11:34
Quix
Рет қаралды 24 М.
Kafka Stream Processing with Python - A Walkthrough
15:06
One day.. 🙌
00:33
Celine Dept
Рет қаралды 54 МЛН
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 26 МЛН
5 Useful Dunder Methods In Python
16:10
Indently
Рет қаралды 64 М.
5 Useful Python Decorators (ft. Carberra)
14:34
Indently
Рет қаралды 107 М.
Why You Shouldn't Nest Your Code
8:30
CodeAesthetic
Рет қаралды 2,8 МЛН
When to Use Kafka or RabbitMQ | System Design
8:16
Interview Pen
Рет қаралды 134 М.
High Performance Kafka Producers in Python
27:45
Quix
Рет қаралды 3,8 М.
Local GraphRAG with LLaMa 3.1 - LangChain, Ollama & Neo4j
15:01
Coding Crash Courses
Рет қаралды 30 М.
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 816 М.
Please Master These 10 Python Functions…
22:17
Tech With Tim
Рет қаралды 220 М.
One day.. 🙌
00:33
Celine Dept
Рет қаралды 54 МЛН