access_time 2y languageEnglish
more_vert

Apache Kafka Python Producer and Consumer Clients Introduction

visibility 2,702 comment 2
Apache Kafka is written with Scala. Thus, the most natural way is to use Scala (or Java) to call Kafka APIs, for example, Consumer APIs and Producer APIs. For Python developers, there are open source packages available that function similar as official Java clients.  This article shows you ...
info Last modified by Raymond 2y
thumb_up 3
comment Comments
6m link more_vert
Raymond Raymond
web_assetArticles 551
forumThreads 8
commentComments 176
account_circleProfile
#1490 Re: Apache Kafka Python Producer and Consumer Clients Introduction

Hello, the Kafka server console will will print out events when reading topic messages from client/consumer as the following screenshot shows:

This is similar as your screenshot for which I don't think it is from Python console.  However when creating topics or write events, there is no logs printed out on the console.

format_quote

person Mateus access_time 6m
Re: Apache Kafka Python Producer and Consumer Clients Introduction

Hello, thanks for the wonderful tutorial. But I got one question!!

Why in my kafka server (open in my CMD) I can't see the messages? Isn't supposed to appear on it?

Running the same script has you.

I Just see the messages coming in Python terminal. To consumer to producer script terminal.

6m link more_vert
M
Mateus
web_assetArticles 0
forumThreads 0
commentComments 1
account_circleProfile
#1489 Re: Apache Kafka Python Producer and Consumer Clients Introduction

Hello, thanks for the wonderful tutorial. But I got one question!!

Why in my kafka server (open in my CMD) I can't see the messages? Isn't supposed to appear on it?

Running the same script has you.

I Just see the messages coming in Python terminal. To consumer to producer script terminal.