Skip to content

Instantly share code, notes, and snippets.

View devshawn's full-sized avatar
💻
Kafka! 😄

Shawn Seymour devshawn

💻
Kafka! 😄
View GitHub Profile

Keybase proof

I hereby claim:

  • I am devshawn on github.
  • I am devshawn (https://keybase.io/devshawn) on keybase.
  • I have a public key ASCtDHwLxWi028RAc_0GqJShBqXtVDLePR7fYlogoRWUFAo

To claim this, I am signing this object:

version: '3'
services:
zookeeper:
image: zookeeper:3.4.9
hostname: zookeeper
ports:
- "2181:2181"
environment:
ZOO_MY_ID: 1

Kafka GitOps Local Cluster

  1. Ensure you have docker, docker-compose, and the Kafka CLI tools installed.
  2. Clone the [kafka-gitops][kafka-gitops] repository.
  3. Navigate into the docker folder, e.g. cd ./kafka-gitops/docker.
  4. Start up the Kafka cluster by running docker-compose up -d.
  5. Validate the logs look good by running docker-compose logs.
  6. Create a test topic by running the following:

Kafka GitOps Demo

A demo with custom ACLs. Ensure you have kafka-gitops installed on your machine.

Setup

First, clone the kafka-gitops repository and start up the docker compose found here. This gives us a principal test to work with and set ACLs on.

Second, set environment variables so kafka-gitops can connect to the cluster:

@devshawn
devshawn / INSTALL_MINIKUBE.MD
Last active January 19, 2022 02:52
Install Kubernetes on Ubuntu 18.04

Install Kubernetes on Ubuntu 18.04

Quick guide to install Kubernetes via Minikube on Ubuntu 18.04.

1. Install VirtualBox

Install VirtualBox to be used as the hypervisor.

sudo apt-get install -y virtualbox virtualbox-ext-pack
version: '3'
services:
zookeeper:
image: zookeeper:3.4.9
hostname: zookeeper
ports:
- "2181:2181"
environment:
ZOO_MY_ID: 1
version: '3'
services:
zookeeper:
image: zookeeper:3.4.9
hostname: zookeeper
ports:
- "2181:2181"
environment:
ZOO_MY_ID: 1