kafka-connect

by Das Meta

Helm chartv1.0.2App 2.14.5

A Helm chart for Kafka Connect

About this chart

Kafka Connect Helm Chart

This Helm chart deploys Kafka Connect on Kubernetes, currently configured to work with Google Cloud Storage (GCS) for sink functionality. It includes setups like a Kafka Connect deployment integrated with a GCS Sink Connector and a Schema Registry, providing flexible environment configurations.

Prerequisites

  • Kubernetes 1.18+
  • Helm 3.0+
  • Configured kubectl connected to your Kubernetes cluster
  • Google Cloud credentials configured if GCS functionality is utilized (gcs-credentials secret has to exist in the namespace where the chart will be deployed and should include the json of GCP Service Account credentials). For example:
apiVersion: v1
data:
  gcs-credentials.json: "your-gcs-sa-credentials"
kind: Secret
metadata:
  name: gcs-credentials
  namespace: kafka
type: Opaque

Public values: values.yaml. Examples: examples/kafka-connect/. From repo root: helm template test charts/kafka-connect -f examples/kafka-connect/minimal.yaml.

Key values

KeyDescriptionDefault / Example
baseBase chart subchart values (replicaCount, image, service, etc.)example in values.yaml
base.schemaRegistry.enabledEnable Schema Registryset per env
base.schemaRegistry.urlSchema Registry URLe.g. http://schema-registry:8081
Connector configsGCS Sink and other connectorsexample in values.yaml; requires gcs-credentials secret

Installation

Add Helm Repository

If the chart is hosted in a Helm repository:

helm repo add dasmeta https://dasmeta.github.io/helm/
helm install kafka-connect dasmeta/kafka-connect -f values.yaml --version 1.0.0

Deploy kafka-connect with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kafka-connect on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkafka-connect is pinned at v1.0.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply