Golang Producer and Consumer with Kafka Simple
install package:
go get https://github.com/segmentio/kafka-go
Create Topic In Kafka:
create topic name logging
topic logging has 1 partition
Producer
create folder producer:
create file main.go in folder producer
copy and paste code:
package...