Skip to content

YunanJeong/kafka-test

Repository files navigation

kafka-test

kafka-test

Tree

├── 0_kafka-broker-basic            # Set up kafka 1 node (zookeeper, broker) by Apache Kafka
├── 1_kafka-broker-connect-basic    # Add kafka connect to "module 0"
├── 2_kafka-broker-connect-systemd  # Run "module 1"'s kafka as systemd service
├── 3_kafka-jdbc-connector-test     # Add connectors(jdbc-src, s3-sink) to "module 2"
├── 4_kafka-ksql-service            # Add ksqlDB to "module 3"
├── 5_confluent-community-archive   # Set up kafka 1 node by Confluent Platform Community(zip or tar)
├── 6_confluent-community-package   # Set up kafka 1 node by Confluent Platform Community(deb)
├── 7_cclpkg-debezium-test          # Add debezium connector to "module 6" 
├── 8_legacy_kafka                  # Module For Old Kafka 1 node 
├── LICENSE
├── README.md
├── memo/                           # Tips for Kafka Operation
├── py-connect-examples             # Test connectors
└── py-connect-util                 # Simple library to manage connectors

Record: Kafka Message Structure

Kafka의 가장 작은 메시지 단위를 Record라고 부른다.

Record = Message = Event = Data = log 1 row 이라고 보면 된다.

참고 그림

Header

  • 메타데이터(topic, partition, timestamp(Ingestion Time) 등)
  • Kafka 시스템이 Record를 분류하기 위한 정보를 자동 기록

Body(Business Data)

  • key
    • Kafka 사용자가 Record를 분류하기 위한 정보를 기록
  • value
    • 핵심 Payload, 원본데이터에 가까움

메모

  1. Kafka 라이센스 정리

  2. Kafka 설치, 실행, 설정

  3. Kafka 메시지 관리 및 분석 방법 (kafkacat, jq, 쉘 명령어)

  4. Kafka Python Package 종류

    • Python으로 Producer, Consumer 만들 때 사용가능한 라이브러리
  5. Connector를 위한 offset 다루기

    • 특히 Source Connector를 위한 connect_offsets 설명 위주
  6. Kafka Timestamp 종류

  7. JDBC src connector 시간 관련 옵션

  8. S3 sink connector 시간 관련 옵션

  9. Kafka 복제도구: MirrorMaker1, MirrorMaker2, Replicator

  10. Connect에서 Converter 종류

  11. 토픽튜닝할 것들(segment,retention 등)

  12. 토픽튜닝: partition

  13. 토픽튜닝: replication

  14. Connect 설정

About

Kafka configuration by installation type

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published