{"id":17076846,"url":"https://github.com/prantadas/log-ingestor","last_synced_at":"2026-05-09T00:40:06.437Z","repository":{"id":257726796,"uuid":"858384353","full_name":"PrantaDas/log-ingestor","owner":"PrantaDas","description":"A simple logging service that reports the error inside a http server. It uses Kafka for message queuing and MongoDB for storing the logs. ","archived":false,"fork":false,"pushed_at":"2024-09-18T06:12:58.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T12:15:10.538Z","etag":null,"topics":["kafka","microservice","mongodb"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PrantaDas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-09-16T19:55:31.000Z","updated_at":"2024-09-18T06:14:58.000Z","dependencies_parsed_at":"2024-09-18T20:31:11.509Z","dependency_job_id":null,"html_url":"https://github.com/PrantaDas/log-ingestor","commit_stats":null,"previous_names":["prantadas/log-ingestor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrantaDas%2Flog-ingestor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrantaDas%2Flog-ingestor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrantaDas%2Flog-ingestor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrantaDas%2Flog-ingestor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrantaDas","download_url":"https://codeload.github.com/PrantaDas/log-ingestor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245097834,"owners_count":20560319,"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":["kafka","microservice","mongodb"],"created_at":"2024-10-14T12:09:44.753Z","updated_at":"2026-05-09T00:40:06.386Z","avatar_url":"https://github.com/PrantaDas.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## **Log Ingestor**\n\n\n**Log Ingestor**\nA simple logging service that reports the error inside a http server. It uses `Kafka` for message queuing and `MongoDB` for storing the logs. \n\n\n### **Features**\n* Simulates HTTP server errors.\n* Publishes error logs to Kafka.\n* Consumes error logs from Kafka.\n* Stores error logs in MongoDB.\n* Simple configuration for Kafka and MongoDB connection.\n\n### **Prerequisites**\nBefore running the project, ensure you have the following installed:\n\n* Go (version 1.18 or higher)\n* Docker (for running Kafka and MongoDB in containers)\n\n### **Usage**\n##### 1. Clone the repository\n```sh\nhttps://github.com/PrantaDas/log-ingestor.git\n```\n\n##### 2. Change directory\n```sh\ncd log-ingestor\n```\n\n##### 3. Run docker compose file\n```sh\ndocker compose up -d\n```\n\n##### 4. Verify kafka and zookeeper\n```shell\nnc -zv localhost 9092\nnc -zv localhost 2181\n```\n\n##### 5. Push log to the message queue ( Send a request to the url to simulate error )\n```sh\nhttp://localhost:8080/simulate-error\n```\n\n### **Contributing**\nContributions are welcome! If you have suggestions for improvements or features, please create an issue or submit a pull request.\n\n### **License**\nThis project is licensed under the MIT License. See the [LICENSE](https://github.com/PrantaDas/log-ingestor/blob/main/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantadas%2Flog-ingestor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprantadas%2Flog-ingestor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantadas%2Flog-ingestor/lists"}