I hereby claim:
- I am jamedge on github.
- I am markojamedzija (https://keybase.io/markojamedzija) on keybase.
- I have a public key whose fingerprint is E9C1 D715 62C1 B87B BF4C 2745 7701 938B 943A B8BF
To claim this, I am signing this object:
CREATE USER <username> WITH PASSWORD '<password>' CREATEDB; |
greadlink -f <symlinkname> |
ssh-keygen -t rsa |
I hereby claim:
To claim this, I am signing this object:
sysctl -a | grep machdep.cpu.features |
kapacitor -url <kapacitor_url> list tasks |
# it will create the symlink for the package in `/usr/local/bin` making it accessable in the path | |
# however, to make brew package prioritised over the system one (if it exist), this (brew symlinks) location must be checked before the system one (`usr/bin/`) | |
# to do this, PATH should be overriden with `export PATH=/usr/local/bin:$PATH` in `.zshrc` / `.bash_profile` (depending on a shell) | |
brew link <package_name> |
# Run and connect to the container | |
docker run --net host -it wurstmeister/kafka:0.9.0.1 bin/bash | |
# NOTE: if `kafka-docker` is used and container is already sterted, connecting can be done directly to started container with `docker exec -it <containerId> bash` | |
# navigate to kafka dir | |
cd $KAFKA_HOME | |
# listing topics | |
bin/kafka-topics.sh --zookeeper <zookeeper_ip>:2181 --list | |
# creating a kafka topic | |
bin/kafka-topics.sh --create --zookeeper <zookeeper_ip>:2181 --replication-factor 1 --partitions 1 --topic <topic_name> |
# start | |
docker-compose start kafka | |
# restart | |
docker-compose restart kafka |
# from kafka-docker repo | |
docker-compose -f docker-compose-single-broker.yml up |