bin/kafka-topics.sh --zookeeper localhost:2181 --list
bin/kafka-topics.sh --zookeeper localhost:2181 --describe --topic mytopic
bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic mytopic --config retention.ms=1000
... wait a minute ...
bin/kafka-topics.sh --zookeeper localhost:2181 --list
bin/kafka-topics.sh --zookeeper localhost:2181 --describe --topic mytopic
bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic mytopic --config retention.ms=1000
... wait a minute ...
| #!/bin/sh | |
| git ls-files |grep ".go" | grep -v "vendor"| xargs wc -l |
This means, on your local machine, you haven't made any SSH keys. Not to worry. Here's how to fix:
*nix based command prompt (but not the default Windows Command Prompt!)cd ~/.ssh. This will take you to the root directory for Git (Likely C:\Users\[YOUR-USER-NAME]\.ssh\ on Windows).ssh folder, there should be these two files: id_rsa and id_rsa.pub. These are the files that tell your computer how to communicate with GitHub, BitBucket, or any other Git based service. Type ls to see a directory listing. If those two files don't show up, proceed to the next step. NOTE: Your SSH keys must be named id_rsa and id_rsa.pub in order for Git, GitHub, and BitBucket to recognize them by default.ssh-keygen -t rsa -C "your_email@example.com". Th| sudo ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework /Library/Frameworks/ | |
| sudo ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework /Library/Frameworks/ |
| package main | |
| import ( | |
| "fmt" | |
| "reflect" | |
| "sort" | |
| ) | |
| func main() { |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| function cleanup() { | |
| trap - SIGINT SIGTERM ERR EXIT | |
| } | |
| trap cleanup SIGINT SIGTERM ERR EXIT |
| { | |
| "Use Non-ASCII Font" : false, | |
| "Tags" : [ | |
| ], | |
| "Ansi 12 Color" : { | |
| "Green Component" : 0.81066548824310303, | |
| "Red Component" : 0.43880558013916016, | |
| "Blue Component" : 0.99898606538772583 | |
| }, |
| #!/bin/sh | |
| set -eu | |
| SCRIPT_NAME="$(basename "$0")" | |
| echo "${SCRIPT_NAME} is running... " | |
| PROTOC_VERSION=3.19.1 | |
| PROTOC_OS="" |