Git Product home page Git Product logo

deview-2021-kafka-stream's Introduction

DEVIEW-2021-KAFKA-STREAM

App 구동 상세 스펙

  • apache-kafka : kafka_2.12-2.8.0
  • java : 1.8
  • maven : 3.6.3

FLOW

  • image

사전 설정

  • application.yml에서 local-kafka(개별 구축하신 kafka) 정보 입력
    • bootstrap-servers, src-topic-name, dest-topic-name 수정 필요
  • image

APP 빌드 방법

  • maven 빌드 이후, java application 실행
mvn clean package
java -jar target/deview-2021-kafka-streams-0.0.1-SNAPSHOT.jar

테스트 방법

  • local-kafka 구동
    $KAFKA_HOME/bin/kafka-server-start.sh start $KAFKA_HOME/config/server.properties
  • 위 방법에 따른 demo app 빌드 및 수행
  • local-kafka에서 다음과 같은 명령 수행
    # src-topic produce, 임의의 문자열 유입
    $KAFKA_HOME/bin/kafka-console-producer.sh --broker-list test-kafka:9092 --topic src-topic
    
    # src-topic consume, src-topic 데이터 확인
    $KAFKA_HOME/apps/kafka/bin/kafka-console-consumer.sh --bootstrap-server test-kafka:9092 --topic src-topic
    
    # dest-topic consume, demo-app에 대해 가공된 데이터 확인
    $KAFKA_HOME/apps/kafka/bin/kafka-console-consumer.sh --bootstrap-server test-kafka:9092 --topic dest-topic

deview-2021-kafka-stream's People

Contributors

wshid avatar

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.