wcygan / kafka-on-kubernetes

Kafka + Producer + Consumers on k8s

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kafka on Kubernetes

This example demonstrates how to deploy Kafka on Kubernetes using Helm. Further, the application demonstrates how to produce and consume messages from a Kafka topic using the kafka-go client library.

kafka

Prerequisites

  1. A cluster to deploy to (e.g. minikube)
  2. kubectl
  3. helm
  4. tilt (Optional: for local development)

Quickstart

Deploy locally using Tilt

Deploy using Tilt:

tilt up

Stop using Tilt:

tilt down

Deploy using kubectl and helm

Deploy with ./scripts/deploy.sh:

./scripts/deploy.sh

Delete with ./scripts/undeploy.sh:

./scripts/undeploy.sh

About

Kafka + Producer + Consumers on k8s


Languages

Language:Dockerfile 28.4%Language:Go 26.8%Language:Starlark 25.8%Language:Shell 19.0%