Skip to content

zhayt/simple-pub-sub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka Getting Started

Simple pub sub with kafka

How to Run

With Makefile

  1. Deploy kafka and zookeeper
make build
  1. Start producer
make run-producer
  1. Start consumer
make run-consumer

Manually

  1. Deploy kafka and zookeeper
./run.sh
  1. Start producer
go run producer/main.go --bootstrap-server localhost:9093 --topic {Topic}
  1. Start consumer
go run consumer/main.go --bootstrap-server localhost:9093 --topic log

About

Simple pub sub with kafka

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published