명령어 3

[kafka] docker portainer로 topic 검색

카프카를 docker를 통해서 설치한다면, docker 내부에 설치된 카프카 관련 명령어들을 바로 사용할 수 없어 번거롭다. 이럴때 portainer tool을 사용하여 cmd창을 실행하면 쉽게 명령어를 실행할 수 있다. portainer 설치는 아래 사이트를 참고하면 된다. www.portainer.io/ Portainer | Open Source Container Management GUI for Kubernetes, Docker, Swarm Portainer is the definitive open source container management GUI for Kubernetes, Docker, Swarm and ACI. www.portainer.io portainer 접속포트는 리눅스 기반이라면..

Programming/Kafka 2021.01.29

[kafka] 자주 사용하는카프카 명령어

카프카 사용시 자주 사용하는 명령어이다. 명령어 확인 경로: /usr/local/kafka/bin 토픽 생성 > bin/kafka-topics.sh --create --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1 --topic test-topic 토픽 리스트 확인 > bin/kafka-topics.sh --list --bootstrap-server localhost:9092 토픽 상세 보기 > bin/kafka-topics.sh --describe --bootstrap-server localhost:9092 --topic test-topic 토픽 설정 변경 디스크 공간 확보시 필요. 운영 중 디스크 공간을 확보하는 가장 좋은..

Programming/Kafka 2020.04.23

[Anaconda] 주요 명령어

버전 확인 conda --version 아나콘다 업데이트 conda update conda 라이브러리 리스트 확인 conda list 라이브러리 설치 # 기본 명령어 conda install {패키지명} # 권장 명령어. 기본 채널에 피키지가 존재하지 않는 경우 PackagesNotFoundError가 발생할 수 있다. conda install -c conda-forge {패키지명} 라이브러리 업데이트 # 특정 라이브러리 업데이트 conda update {패키지명} # 설치되어 있는 모든 라이브러리 업데이트 conda update -all 라이브러리 삭제 conda remove {패키지명} 라이브러리 검색 conda search {패키지명} 아나콘다 환경설정 확인 conda env list conda i..

Programming/Python 2020.04.22