A simple kafka test application with a broker built from docker image
docker-compose up -d
go run cmd/producer/producer.go
go run cmd/consumer/consumer.go
curl -X POST http://localhost:8080/send \
-d "fromID=1&toID=4&message=Lena liked your post: My weekend getaway!"
curl http://localhost:8081/notifications/4
Source: https://www.freecodecamp.org/news/build-a-real-time-notification-system-with-go-and-kafka/