{"id":22957992,"url":"https://github.com/sergio11/websocket_stomp_architecture","last_synced_at":"2025-10-28T08:09:16.417Z","repository":{"id":90143860,"uuid":"310843809","full_name":"sergio11/websocket_stomp_architecture","owner":"sergio11","description":"An approach to communication between microservices based on WebSocket / Stomp","archived":false,"fork":false,"pushed_at":"2021-01-01T12:06:04.000Z","size":478,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-07T16:47:43.447Z","etag":null,"topics":["lombook","mapstruct","rabbitmq","reactor-netty","spring-boot","spring-data-mongodb","spring-messaging","spring-websocket","stomp","stompwebsocket"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sergio11.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-07T12:50:11.000Z","updated_at":"2025-01-26T04:27:30.000Z","dependencies_parsed_at":"2023-03-14T09:01:22.852Z","dependency_job_id":null,"html_url":"https://github.com/sergio11/websocket_stomp_architecture","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergio11%2Fwebsocket_stomp_architecture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergio11%2Fwebsocket_stomp_architecture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergio11%2Fwebsocket_stomp_architecture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergio11%2Fwebsocket_stomp_architecture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sergio11","download_url":"https://codeload.github.com/sergio11/websocket_stomp_architecture/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246741185,"owners_count":20826063,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lombook","mapstruct","rabbitmq","reactor-netty","spring-boot","spring-data-mongodb","spring-messaging","spring-websocket","stomp","stompwebsocket"],"created_at":"2024-12-14T17:34:37.233Z","updated_at":"2025-10-28T08:09:11.373Z","avatar_url":"https://github.com/sergio11.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# An approach to communication between microservices based on WebSocket / Stomp\n\n\u003cimg width=\"auto\" src=\"./images/websocket_stomp_architecture.png\" /\u003e\n\n\n## Used technology\n\n* Spring Boot 2.3.5 / Apache Maven 3.6.3.\n* Spring Boot Starter Web.\n* Spring Boot Starter Reactor Netty.\n* Springdoc OpenApi UI.\n* Mapstruct.\n* Lombok.\n* Spring Boot Starter Websocket.\n* Spring Messaging.\n* Spring Boot Starter Data MongoDB.\n\n## Running Applications as Docker containers.\n\n### Rake Tasks\n\nThe available tasks are detailed below (rake --task)\n\n\n| Task | Description |\n| ------ | ------ |\n| check_deployment_file_task | Check Deployment File |\n| check_docker_task | Check Docker and Docker Compose Task |\n| cleaning_environment_task | Cleaning Evironment Task |\n| deploy | Deploys the Websocket STOMP architecture and laun... |\n| login | Authenticating with existing credentials |\n| start | Start Containers |\n| status | Status Containers |\n| stop | Stop Containers |\n| undeploy | UnDeploy Websocket STOMP architecture |\n\n\nTo start the platform make sure you have Ruby installed, go to the root directory of the project and run the `rake deploy` task, this task will carry out a series of preliminary checks, discard images and volumes that are no longer necessary and also proceed to download all the images and the initialization of the containers.\n\n\n### Containers Ports\n\nIn this table you can view the ports assigned to each service to access to the Web tools or something else you can use to monitoring the flow.\n\n| Container | Port |\n| ------ | ------ |\n| MongoDB Express | localhost:8082 |\n| Rabbit MQ - Stomp Dashboard | localhost:8081 |\n| Microservice Producer OpenAPI Swagger | localhost:8088 |\n\n## Some screenshots\n\nAs follow, I include some images that help us to understand the performance of each part of system\n\n\n\u003cimg width=\"auto\" src=\"./images/imagen_1.PNG\" /\u003e\n\u003cimg width=\"auto\" src=\"./images/imagen_2.PNG\" /\u003e\n\u003cimg width=\"auto\" src=\"./images/imagen_3.PNG\" /\u003e\n\u003cimg width=\"auto\" src=\"./images/imagen_4.PNG\" /\u003e\n\u003cimg width=\"auto\" src=\"./images/imagen_5.PNG\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergio11%2Fwebsocket_stomp_architecture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergio11%2Fwebsocket_stomp_architecture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergio11%2Fwebsocket_stomp_architecture/lists"}