Skip to content

Instantly share code, notes, and snippets.

View anthonynguyen's full-sized avatar
🐔
chicken

Anthony Nguyen anthonynguyen

🐔
chicken
View GitHub Profile
@anthonynguyen
anthonynguyen / 1_kubernetes_on_macOS.md
Created January 16, 2018 18:01 — forked from kevin-smets/1_kubernetes_on_macOS.md
Local Kubernetes setup on macOS with minikube on VirtualBox and local Docker registry

Requirements

Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:

sysctl -a | grep machdep.cpu.features | grep VMX

If there's output, you're good!

Prerequisites

require "kafka/consumer_group"
require "kafka/offset_manager"
require "kafka/fetch_operation"
module Kafka
# @note This code is still alpha level. Don't use this for anything important.
# The API may also change without warning.
#
# A client that consumes messages from a Kafka cluster in coordination with
@anthonynguyen
anthonynguyen / info.md
Created May 13, 2016 16:18
Setting up Logstash/Elasticsearch

Adding Logstash/Elasticsearch to a web app

Some basic steps to add Logstash/Elasticsearch integration to an existing web app

3. Create a Logstash configuration file
  • This assumes your web app is already doing some sort of logging
  • Basic configuration file structure: