Apache Kafka is an open-source event streaming platform, used for publishin and processing events at high-throughput.
docker-compose up -d
docker compose exec broker kafka-topics --create --topic purchases --boostrap-server localhost:9092 --replication-factor 1 --partitions 1
go build -o out/producer util.go producer.go
./out/producer getting-started.properties
go build -o out/consumer util.go consumer.go
./out/consumer getting-started.properties
Enter Ctrl+C
to exit