Skip to content

Instantly share code, notes, and snippets.

View chrisbjohannsen's full-sized avatar

Christopher Johannsen chrisbjohannsen

View GitHub Profile
@chrisbjohannsen
chrisbjohannsen / kafka.tmx
Created August 28, 2019 20:35
Tmux script to start a zookeeper/kafka environment on your machine
source-file ~/conf/dotfiles/.tmux.conf
new-session -s kafka-environment -n kafka -d
send-keys -t kafka-environment 'zookeeper-server-start ~/conf/zookeeper.properties' C-m
split-window -h -t kafka-environment
select-pane -T kafka-server -t kafka-environment:1.2
send-keys -t kafka-environment:1.2 'kafka-server-start ~/conf/server.properties' C-m
split-window -t kafka-environment:1.2 -v -p 30
[General]
RptAddress=127.0.0.1
RptPort=62032
LocalAddress=127.0.0.1
LocalPort=62031
RuleTrace=0
Daemon=1
Debug=0
RFTimeout=20
NetTimeout=20