This file contains hidden or 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
| #!/bin/zsh | |
| # List topics | |
| kafka-topics.sh \ | |
| --zookeeper 127.0.0.1:2181 \ | |
| --list | |
| # Create topic | |
| kafka-topics.sh \ |
This file contains hidden or 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
| #!/bin/sh | |
| # Generate UUID, remove line breaks and copy to clipboard | |
| uuidgen | tr -d '\n' | xsel -b |