Загрузка...

Kafka for Testers #2: Build a Kafka Consumer & Read Messages Using Python

In this second video of the Kafka for Testers series, you'll learn how to build a Kafka Consumer in Python and understand how Kafka delivers messages to consumers.

As a QA engineer or automation tester, it's not enough to publish messages—you also need to verify that they can be consumed correctly. In this tutorial, we explore consumer groups, offsets, and how Kafka remembers which messages have already been read.

What you'll learn:
✅ Create a Kafka Consumer using Python
✅ Connect to a local Kafka broker (localhost:9092)
✅ Subscribe to a Kafka topic
✅ Understand Consumer Groups (group.id)
✅ Learn how auto.offset.reset=earliest works
✅ See how Kafka tracks consumed messages using offsets
✅ Why changing the consumer group lets you read old messages again
✅ Verify newly published messages are consumed automatically
Key Concepts Explained
Kafka Consumer
Consumer Groups
Offsets
auto.offset.reset = earliest
Message persistence in Kafka
Producer vs Consumer workflow
Reading historical vs new messages

By the end of this video, you'll understand how Kafka consumers behave, why messages are not repeatedly consumed by the same consumer group, and how this knowledge helps when testing event-driven applications.

In the next video, we'll move beyond simply printing messages and start automatically validating Kafka messages as part of a test automation framework.

If you enjoyed this video, please Like 👍, Subscribe 🔔, and share it to support the series!

#Kafka #KafkaConsumer #KafkaTesting #Python #QA #SDET #AutomationTesting #ApacheKafka #ConfluentKafka #SoftwareTesting #EventDrivenArchitecture #TestAutomation

Видео Kafka for Testers #2: Build a Kafka Consumer & Read Messages Using Python канала BreakingTheCodeQA
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять