OpenDevopendev.hashnode.dev·Jun 11, 2023Golang Producer and Consumer with Kafka Simpleinstall 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...Discuss·121 readsgolang
OpenDevopendev.hashnode.dev·Aug 20, 2022[KAFKA] Consumers and Consumer GroupsSuppose you have an application that needs to read messages from a Kafka topic, run some validations against them, and write the results to another data store. In this case your application will create a consumer object, subscribe to the appropriate ...Discuss·2 likes·40 readskafka-eveningkafka