Skip to content

microservices async communication prototype with kafka/websockets/react/spring boot/rails

Notifications You must be signed in to change notification settings

alagiz/websockets-kafka-demo

Repository files navigation

websockets-kafka-demo

aws-deployed-version <not available at the moment, but there is this, though => instability>

design

  • client-app(react) is connected to gateway through websockets
  • gateway and performer communicate through messages in kafka topics
  • gateway and authentication communicate directly through HTTP

deployment

  • make sure to enable proxy_wstunnel_module (instructions are in httpd service)
  • deploy to Docker Swarm cluster with:
     env HOST_IP=3.13.90.180 docker stack deploy -c docker-compose.depl.yml wsStackk
    

usage

  • run
    docker-compose up
    
  • visit http://localhost:8080/ws
  • authenticate with passwordless usernames:
    white-collar
    black-collar
    red-collar
    blue-collar
    godfather => to see all jobs from all collars
    

About

microservices async communication prototype with kafka/websockets/react/spring boot/rails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published