Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wcygan/kafka-on-kubernetes
Kafka + Producer + Consumers on k8s
https://github.com/wcygan/kafka-on-kubernetes
Last synced: 2 days ago
JSON representation
Kafka + Producer + Consumers on k8s
- Host: GitHub
- URL: https://github.com/wcygan/kafka-on-kubernetes
- Owner: wcygan
- Created: 2024-01-28T02:28:55.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-02-10T06:00:14.000Z (9 months ago)
- Last Synced: 2024-06-21T22:42:40.156Z (5 months ago)
- Language: Dockerfile
- Homepage:
- Size: 136 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.## Prerequisites
1. A cluster to deploy to (e.g. [minikube](https://minikube.sigs.k8s.io/docs/start/))
2. [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/)
3. [helm](https://helm.sh/)
4. [tilt](https://tilt.dev/) (Optional: for local development)## Quickstart
### Deploy locally using Tilt
Deploy using Tilt:
```sh
tilt up
```Stop using Tilt:
```sh
tilt down
```### Deploy using kubectl and helm
Deploy with [./scripts/deploy.sh](./scripts/deploy.sh):
```sh
./scripts/deploy.sh
```Delete with [./scripts/undeploy.sh](./scripts/undeploy.sh):
```sh
./scripts/undeploy.sh
```