Skip to content

maddymanu/TypeScript-KafkaJS-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript KafkaJS

Simple Producer & Client example in KafkaJS

How to run:

Step 1: Setup Kafka (I used the following blog): https://blog.soshace.com/the-ultimate-introduction-to-kafka-with-javascript/

Step 2: Onc you have both the kafka-server and the kafka-zookeeper running, you can start the producer using ts-node src/producer.ts

Step 3: In a new terminal window, run ts-node src/consumer.ts to start the client.

Step 4: Go back to the producer, and start typing your data.

About

Simple Example of a producer & consumer in Kafka using KafkaJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published