Skip to content

Instantly share code, notes, and snippets.

View lockwooddev's full-sized avatar
🐍
*productive hissing*

Carlo Smouter lockwooddev

🐍
*productive hissing*
View GitHub Profile
@mikesparr
mikesparr / librdkafka.rb
Created May 26, 2016 20:37
Updated Homebrew formula for librdkafka so you can install confluent-kafka Python client via PIP (requires > 0.9.01)
class Librdkafka < Formula
desc "The Apache Kafka C/C++ library"
homepage "https://github.com/edenhill/librdkafka"
url "https://github.com/edenhill/librdkafka/archive/0.9.1.tar.gz"
sha256 "5ad57e0c9a4ec8121e19f13f05bacc41556489dfe8f46ff509af567fdee98d82"
#bottle do
# cellar :any
# sha256 "63b97ce272e07632f10e33a7963f291bf1a0457f0823d4ab4bdce01eb3e65bbe" => :el_capitan
# sha256 "ffa2e218bbd43230c3a999b3adb7f4e08f132a15fa43ae552dd7692874834f91" => :yosemite
@dkurzaj
dkurzaj / README.md
Last active August 21, 2024 09:02
Docker compose Kafka, Zookeeper and Kafka manager

Docker compose Kafka, Zookeeper and Kafka manager

Gist inspired by this one intending to be an updated version of it : https://gist.github.com/17twenty/d619f922ab209f750630824f7c6836e3

Install

  • Create the environment variable that contains our host name (IP address) :
$ export EXPOSED_HOSTNAME=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1  -d'/')
  • Create the folders :