Skip to content
/ go-kafka Public

This Go app demonstrates Kafka messaging using k8s(minikube) + skaffold

Notifications You must be signed in to change notification settings

shsma/go-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Kafka App

This Go app demonstrates Kafka messaging usiing k8s(minikube) + skaffold

Prerequisites

  • Go (Golang) installed: https://golang.org/dl/
  • Accessible Kafka cluster or instance.
  • Docker and Docker Compose (optional)
  • Skaffold (optional)

Run Kafka Locally

Run with Docker Compose

docker-compose up 

Run with Skaffold

skaffold run  --port-forward

Run App

  1. Install dependencies: go mod download
  2. Update Kafka connection info for producers and consumers.
  3. Run: go run main.go

Customization

  • Modify message processing in Kafka consumer.
  • Adjust Kafka topic and format.
  • Handle errors, add features.

Resources

License

MIT License. See LICENSE.

Fork, enhance, and adapt. Questions/improvements? Create an issue or pull request. Happy coding!

About

This Go app demonstrates Kafka messaging using k8s(minikube) + skaffold

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages