본문 바로가기
728x90

분류 전체보기163

[Kafka] 빠른 시작 예제 참고 : 공식홈페이지 Apache Kafka Quick Start Apache Kafka Apache Kafka: A Distributed Streaming Platform. kafka.apache.org 1. kafka 다운로드 Download - kafka압축 풀기 tar -xzf kafka_2.13-3.3.1.tgz cd kafka_2.13-3.3.1 2. kafka 환경변수 설정 및 실행 Java8 이상 설치돼 있어야 함 Zookeeper 와 KRaft 중 선택 가능한데, Zookeeper는 앞으로 점차 없앨 계획이라고 하니 KRaft로 설치 (1) Cluster UUID 생성 KAFKA_CLUSTER_ID="$(bin/kafka-storage.sh random-uuid)" (2) 로그 폴더 포맷.. 2023. 2. 15.
[Kafka] 카프카 소개 참고 : 공식홈페이지 Apache Kafka Apache Kafka Apache Kafka: A Distributed Streaming Platform. kafka.apache.org Kafka INTRODUCTION 1. 이벤트 스트리밍이란? 기술적으로 이벤트 스트리밍은 데이터베이스, 센서, 모바일 장치, 클라우드 서비스, 소프트웨어 응용 프로그램과 같은 이벤트 소스로부터 실시간으로 데이터를 캡처하는 작업이다. 예시) 나중에 검색할 수 있도록 지속적으로 저장 과거 혹은 실시간의 데이터에 반응하고, 데이터를 다루고 처리하는 것 이벤트 데이터를 다른 목적지로 보내는 것 2. 어디에 사용해야 하는가? 금융 산업 : 주식 교환, 은행, 보험 자동차 산업 : 자동차, 트럭 등 실시간 위치 추적 IoT : 센서 .. 2023. 2. 14.
ChatGPT에게 물어봤다 - 코딩에서 예외를 잘 처리하는 방법 Q. How to handle exceptions well in coding 코딩에서 예외를 잘 처리하는 방법 A. Exception handling is an important aspect of good coding, and there are several best practices to follow: Identify and anticipate potential exceptions: Try to identify the points in your code where exceptions may occur and anticipate the types of exceptions that may arise. This will help you write code that is more resilient and le.. 2023. 2. 11.
ChatGPT에게 물어봤다 - 코딩을 잘하려면? Q. What is good at coding? 잘한 코딩이란 무엇인가? A. Being good at coding involves a number of different skills and abilities. Some of the key characteristics of a good coder include: Attention to detail: Coding requires a high level of precision, as even a small error can cause a program to not work as intended. Problem-solving skills: Good coders are able to break down complex problems into smaller, mo.. 2023. 2. 11.
728x90