{"id":19390280,"url":"https://github.com/jaimerc/rabbitmq-winston","last_synced_at":"2026-04-28T12:32:09.198Z","repository":{"id":135546021,"uuid":"224050782","full_name":"JaimeRC/rabbitMQ-winston","owner":"JaimeRC","description":null,"archived":false,"fork":false,"pushed_at":"2020-06-10T19:31:07.000Z","size":83,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T10:57:46.281Z","etag":null,"topics":["docker","docker-compose","express","rabbitmq","winston"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/JaimeRC.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":"2019-11-25T22:08:39.000Z","updated_at":"2020-06-10T19:31:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"9fc5189b-81c1-4f0b-ba38-3a25f189c8d3","html_url":"https://github.com/JaimeRC/rabbitMQ-winston","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JaimeRC/rabbitMQ-winston","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaimeRC%2FrabbitMQ-winston","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaimeRC%2FrabbitMQ-winston/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaimeRC%2FrabbitMQ-winston/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaimeRC%2FrabbitMQ-winston/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JaimeRC","download_url":"https://codeload.github.com/JaimeRC/rabbitMQ-winston/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaimeRC%2FrabbitMQ-winston/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32381314,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["docker","docker-compose","express","rabbitmq","winston"],"created_at":"2024-11-10T10:19:58.198Z","updated_at":"2026-04-28T12:32:09.179Z","avatar_url":"https://github.com/JaimeRC.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RabbitMQ + Winston\n\nGestion de colas con RabbitMQ para el almacenamiento logs con Winston. \n\n## Estructura del Proyecto\n\n    docker-compose.yml                      # Crea la red, imagenes y contenedores (RabbitMQ, Producer y Cnsumer)\n        ├───consumer                        # Microservicio Consumer para gestión de Logs\n        |       ├───consumers               # Consumidores de las colas\n        |       ├───controllers             # Controladores (Winston)\n        |       ├───logs                    # Almacenamiento de Logs\n        |       ├───test                    # Archivos de Test\n        |       ├───Dockerfile              # Acciones sobre el contenedor\n        |       └───index.js                # Archivo de inicializacion (RabbitMQ)\n        ├───service                         # Microservicio Service simulando un servicio cualquiera.\n        |       ├───consumers               # Consumidores de las colas\n        |       ├───controllers             # Controladores\n        |       ├───test                    # Archivos de Test\n        |       ├───Dockerfile              # Acciones sobre el contenedor\n        |       └───index.js                # Archivo de inicializacion (RabbitMQ)\n        └───producer                        # Archivos para el contenerdor Consumer\n                ├───config                  # Configuraciones (RabbitMQ)\n                ├───controllers             # Controladores (Métodos Routing y RPC de RabbitMQ)\n                ├───routes                  # Rutas para recibir los Logs\n                ├───test                    # Archivos de Test\n                ├───Dockfile                # Acciones sobre el contenedor\n                └───index.js                # Utilidades comunes para todas las colecciones\n\n## Inicio\n\n1. Instalar Docker y Docker-compose:\n    - [Docker](https://docs.docker.com/docker-for-mac/install/)\n    - [Docker-compose](https://docs.docker.com/compose/install/)\n    \n2. Clonar el repositorio:\n            \n    `git clone https://github.com/JaimeRC/rabbitMQ-winston.git`\n    \n3. Inicializar Docker-compose:\n\n    `docker-compose up -d`\n    \n            Creating network \"rabbitmq_app-network\" with driver \"bridge\"\n            Creating rabbitmq ... done\n            Creating producer ... done\n            Creating consumer ... done\n            Creating service  ... done\n\n    \n4. Verificar que las conexiones se han realizado correctamente:\n\n   - `docker logs -f producer`\n       \n            \u003e producer_rabbitmq@1.0.0 start /src\n            \u003e node index.js\n            \n            Server init in port 8080\n            RabbitMQ connected in amqp://rabbitmq\n             [*] Created queues in Routing method: logs -\u003e info, error\n             [*] Created queues in RPC method:  amq.gen-C0E2GxWAoPxbGpFwz_5UFg 21307ae3-610c-4b54-b249-c3dc9ef70288\n            \n   - `docker logs -f consumer`\n   \n           \u003e consumer_rabbitmq@1.0.0 start /src\n           \u003e node index.js\n           \n           RabbitMQ connected in amqp://rabbitmq\n            [*] Waiting for logs.\n            \n   - `docker logs -f service`\n\n            \u003e service_rabbitmq@1.0.0 start /src\n            \u003e node index.js\n            \n            RabbitMQ connected in amqp://rabbitmq\n             [*] Awaiting RPC requests\n\n \n5. En el caso de que no se haya conectado correctamente, reiniciamos el contenedor que no se haya conectado correctamente:\n\n        docker restart consumer \n        docker restart service \n        docker restart producer \n\n\n        \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaimerc%2Frabbitmq-winston","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaimerc%2Frabbitmq-winston","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaimerc%2Frabbitmq-winston/lists"}