Skip to content

angelospanag/fastapi-kafka-websockets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fastapi-kafka-websockets

Download and extract Kafka

wget https://archive.apache.org/dist/kafka/3.3.1/kafka_2.13-3.3.1.tgz
tar -xzf kafka_2.13-3.3.1.tgz 
cd kafka_2.13-3.3.1

Start Kafka server

bin/kafka-server-start.sh config/kraft/server.properties

Start Kafka producer

bin/kafka-console-producer.sh --topic quickstart-events --bootstrap-server localhost:9092

Start Kafka consumer

bin/kafka-console-consumer.sh --topic quickstart-events --from-beginningv --bootstrap-server localhost:9092 

Releases

No releases published

Packages

No packages published