Apache Kafka 101: Consumers (Hands On - 2023)

preview_player
Показать описание

In this hands-on video, you practice leveraging Kafka consumers to subscribe to your first topic and read and write Kafka event data.

- - -

ABOUT CONFLUENT

#kafka #kafkastreams #streamprocessing #apachekafka #confluent
Рекомендации по теме
Комментарии
Автор

One question, Must we do the forever looping in the consumers? Other alternatives?

feifeizhang
Автор

Hello, great video. I'm trying to find a strategy to resolve transactions of microservices communicated to each other by Kafka. Do you think that is possible? Thanks for your help.

aleman
Автор

The last piece of code wouldn't run under Python. I changed it to:
{code}
txt = "Consumed event from topic {topic}: key = {key:12} value = {value:12}"
print(txt.format(topic=msg.topic(), key=msg.key().decode('utf-8'),
{code}

JohnHaubrich