access_time 2 years ago languageEnglish
more_vert

Apache Kafka Python Producer and Consumer Clients Introduction

visibility 3,639 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 2 years ago
thumb_up 3

Please log in or register to comment.

account_circle Log in person_add Register

Log in with external accounts

comment Comments
2 years ago link more_vert
Raymond Raymond
articleArticles 592
imageDiagrams 41
codeCode 0
chat_bubble_outlineThreads 9
commentComments 229
loyaltyKontext Points 6399
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 2 years ago
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.

2 years ago link more_vert
M
Mateus
articleArticles 0
imageDiagrams 0
codeCode 0
chat_bubble_outlineThreads 0
commentComments 1
loyaltyKontext Points 1
#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.