GithubHelp home page GithubHelp logo

-springboot-websocket-kafka-test's Introduction

카프카 실행

docker-compose up -d

stomp 원리 (단점 : 브로커(웹소켓)이 서부 내부에 있어서 서버 확장에 불리)

  • 웹소켓 연결(핸드셰이킹)
  • 구독하기 (stomp)
  • 출판하기 (stomp)

kafka + stomp 연동 원리 (장점 : 브로커(kafka)가 서부 외부에 있음)

  • 웹소켓 연결(핸드셰이킹)
  • 구독하기 (stomp)
  • kafka 컨트롤러 호출 -> kafka producer 호출 -> 토픽을 구독하는 애들에게 전송 -> consumer는 stomp.converAndSend 호출

static폴더 socket-test.html 열어서 테스트 하면 됨

-springboot-websocket-kafka-test's People

Contributors

getinthere avatar

Stargazers

 avatar

Watchers

 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.