Created
August 28, 2019 20:35
-
-
Save chrisbjohannsen/ecd72da1a511912bb920456f0fb912c5 to your computer and use it in GitHub Desktop.
Tmux script to start a zookeeper/kafka environment on your machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment