Skip to content

Instantly share code, notes, and snippets.

Avatar

SemionK. semachka

  • Montreal,Qc,Canada
View GitHub Profile
View git.md

Cleanup Branches Locally

- git branch -D $(git branch)
View MSK
# Setup Section
cat >> ~./zsh_profile
export PATH=~/kafka-3.0.0-src/bin:$PATH
export CLASSPATH=/Users/skopachevsky/Documents/Tools/kafka/aws-msk-iam-auth-1.1.0-all.jar
export BOOTSTRAP_SERVERS=$(aws kafka get-bootstrap-brokers --cluster-arn arn:aws:kafka:us-east-1:535059991238:cluster/brandvno-dev-kafka/7cd34252-c89b-4f31-82a6-48d618368f47-2 --output text)
export ARN=$(arn:aws:kafka:us-east-1:535059991238:cluster/brandvno-dev-kafka/7cd34252-c89b-4f31-82a6-48d618368f47-2)
# Get Tipic
./bin/kafka-log-dirs.sh --bootstrap-server b-2.brandvno-dev-kafka.pwjp0a.c2.kafka.us-east-1.amazonaws.com:9094 --topic-list 'op.dev.telecom-identity-group' --describe--command-config ./bin/client-ssl.properties