Skip to content

montumodi/kafka-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka Demo

Make sure following env variables are set

export REGISTRY_USERNAME=
export REGISTRY_PASSWORD=
export BROKER_USERNAME=
export BROKER_PASSWORD=

Also make sure that config.js has the relevant registry url, broker url, client id and topic names are set. These can be generated from confluent console.

How to run?

npm install node producer.js // To publish random messages to topic

node consumer.js // To consume messages from topic

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published