본문 바로가기
728x90
반응형

분류 전체보기186

[kfaka] kafka 시작해보기 kafka 를 통해서 간단히 events 쓰기 / 읽기를 구현해보고 node.js에서 해당 내용을 구현해보겠습니다. 1. kafka 설치 kafka 다운로드 및 설치 진행 $ tar -xzf kafka_2.13-3.0.0.tgz $ cd kafka_2.13-3.0.0 2. kafka 환경 구성 java 8+가 설치 되어 있어야 합니다. ZooKeeper 서비스를 실행 # Start the ZooKeeper service # Note: Soon, ZooKeeper will no longer be required by Apache Kafka. $ bin/zookeeper-server-start.sh config/zookeeper.properties 새로운 터미널에서 kafka broker service를 실.. 2022. 1. 24.
[Flutter] Android build error (Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15) Android build 시 아래 에러가 발생하면 kotlin 최신 버전으로 업데이트한다. Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15 kotlin version 은 android/build.gradle 에서 변경이 가능하다. buildscript { ext.kotlin_version = '1.6.10' // 최신 버전으로 업데이트 repositories { google() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:4.1.0'.. 2022. 1. 13.
[Kubernetes] k8s HA control-plane node 추가하기 (Add control-plane node) Single Master로 k8s cluster를 구성했으나 추후 HA 구성을 위해 contorl-plane node를 추가 해야 할 경우 1. kubeadm-config.yaml update HA 구성을 위해 추가해야 할 node의 정보를 기존 kubeadm-config.yaml에 추가한다. 기존에 k8s 를 구성한 kubeadm-config.yaml의 정보가 없을 경우 현재 등록되어 있는 configmap을 통해 아래 명령어를 사용하여 가져 온다. machine01:~$ kubectl get cm kubeadm-config -n kube-system -o yaml kubeadm-config에 추가 할 control-plane 노드의 정보를 업데이트 한다. apiVersion: kubeadm.k8s.i.. 2022. 1. 12.
[Docker] linux docker 특정 버전 install (18.06) linux 특정 버전으로 설치를 하고 싶을 경우 $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - $ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" $ sudo apt-get update $ sudo apt-cache policy docker-ce 18.06.2~ce~3-0~ubuntu 500 500 https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages 18.06.1~ce~3-0~ubuntu 50.. 2022. 1. 12.
728x90
반응형