Giter Club home page Giter Club logo

coe-kafka's Introduction

Kafka

spring-cloud-starter-stream-kafka sample

What is Kafka?

  • Messaging System : publish and subscribe to streams of records
  • Store System : store streams of records in a fault-tolerant durable way
  • Stream Processing : Process streams of records as they occur

Kafka는 real-time 데이터를 처리하기 위한 통합된 플랫폼을 제공하기 위해 만들어졌다.

  • 실시간 로그 수집 같은 대용량 이벤트 스트림을 지원하기 위한 높은 처리량
  • 오프라인 시스템으로부터 주기적인 데이터 로드를 위해 큰 규모의 데이터 백로그를 다룸
  • 전통적인 메세징 처리를 다루기 위한 Low-latency 전달
  • Partitioned, Distributed, Real-time processing
  • Fault-tolerance

Getting started

  • System Requirements

    Type Tool Version
    Compiler JDK 1.8 이상
    Builder maven 3.2 이상
    Framework Spring Boot 2.0.2
    Spring Cloud Finchley.BUILD-SNAPSHOT
  • run kafka

    • 서버 시작

      주키퍼 시작
      bin/zookeeper-server-start.sh -daemon config/zookeeper.properties
      카프카 시작
      bin/kafka-server-start.sh -daemon config/server.properties
    • Topic 생성

      bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic topic_name
    • Topic 리스트 확인

      bin/kafka-topics.sh --list --zookeeper localhost:2181
    • Producer (메세지 보내기)

      bin/kafka-console-producer.sh --broker-list localhost:9092 --topic topic_name
      > Hello World
    • Consumer (메세지 가져오기)

      bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic topic_name --from-beginning
      > Hello World

Related Links

coe-kafka's People

Contributors

act-lamos avatar

Watchers

James Cloos avatar SeokYoung Kim 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.