Giter VIP home page Giter VIP logo

kafka-kubernetes's Introduction

Kafka on Kubernetes

Repository consists of:


Deployment

Docker-Compose

Docker-Compose is a local dev environment. Including a postgres module to generate testing data in the docker-compose network.

./data-mock.py is an example script to generate demo data for testing.

Kubernetes / all-in-one

Kubernetes charts is in ./helm/kafka, which is based on cp-helm-charts.

It can easily setup by helm:

cd helm

kubectl create ns kafka
helm install -f kafka/values-dev.yaml -n kafka kafka kafka

# patching existing helm
helm upgrade -f kafka/values-dev.yaml -n kafka kafka kafka

Kubernetes / MSK or Production

For production deployment on MSK, we should dump the values-dev.yaml to values-prod.yaml for another set of configurations.

cd helm

kubectl create ns kafka
helm install -f kafka/values-prod.yaml -n kafka kafka kafka

# patching existing helm
helm upgrade -f kafka/values-prod.yaml -n kafka kafka kafka

Misc

Helm Chart

Here is the Kafka stack components and the sub-chart templates for corresponding kubernetes components:

Component Templates Description
Kafdrop charts/kafdrop Minimal UI for kafka brokers
Kafka Connect charts/kafka-connect Kafka connect distributed server
Kafka Connect UI charts/kafka-connect-ui Minimal UI for kafka-connect
Kafka Rest charts/kafka-rest Kafka Rest Proxy, good for frontend development ?
Schema Registry charts/schema-registry Metadata server, good-to-have
Schema Registry UI charts/schema-regsitry-ui Minimal UI for schema registry
Brokers charts/kafka-broker For all-in-one setup
Zookeeper charts/zookeeper For all-in-one setup

JMX / Prometheus

Confluent Kafka components enable Java Management Extensions (JMX) for monitoring. By enabling ${component}.prometheus.jmx.enabled, components in kubernetes open port for exporting application metrics.

One can easily setup Prometheus monitoring in kubernetes with Prometheus Operator.

kafka-kubernetes's People

Contributors

kavimaluskam avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.