![]() ![]() ![]() But I would like each respective pane to cd to the base kafka install directory. ![]() I wanted to have zookeeper and kafka start automatically, the message producer and consumer I would be stopping and starting as needed. Finally a pane to run my kafka-processor code or perform ad-hoc tasks.I wanted a script to create the following workspace: In my case I’m using a mac so I used homebrew – brew install tmux. Tmux can be downloaded from the main site. Getting Tmuxīefore we start it’s helpful to know how we can install tmux. In this post we are going to assume the reader is alreay familiar with zookeeper and kafka. I had the perfect use case to use tmux! This post is about scripting tmux to save time during devlopment, in this case working with kafka. After opening up 4-5 terminal windows (Zookeeper, Kafka, sending messgaes, recieving messages) and toggling in between them, I quickly realized I needed a way to open up these terminal sessions at one time and have them centralized. Lately I’ve started looking at the Processor API available in Kafka. I’ve known about tmux for some time now, but I kept putting off working with it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |