Skip to content

Instantly share code, notes, and snippets.

Last active February 5, 2016 06:00
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Vagrant machine for Confluent 2.0
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config| = "ubuntu/trusty64" "private_network", ip: ""
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
config.vm.provision "shell", inline: <<-SHELL
sudo add-apt-repository "deb stable main"
sudo apt-get update && sudo apt-get install -y --force-yes openjdk-7-jdk confluent-platform-2.11.7
sed "/^*/d" /etc/kafka/
echo "" >> /etc/kafka/
config.vm.provision "shell", run: "always", inline: <<-SHELL
zookeeper-server-start -daemon /etc/kafka/
kafka-server-start -daemon /etc/kafka/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment