{"id":24259097,"url":"https://github.com/arafkarsh/ms-cache-kafka-quickstart","last_synced_at":"2026-05-10T05:03:17.229Z","repository":{"id":171252654,"uuid":"506307148","full_name":"arafkarsh/ms-cache-kafka-quickstart","owner":"arafkarsh","description":"Microservice Service Template With Redis Cache and Kafka Framework. Microservice Template gives you a SpringBoot App template with Open API 3 Ex, Actuator, Sleuth, Prometheus, and POM file with Fat and Thin jar file creation and Dockerfile for containerization.","archived":false,"fork":false,"pushed_at":"2022-06-22T15:36:34.000Z","size":75,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T21:29:22.637Z","etag":null,"topics":["aop","exception-handling","kafka","microservices","redis","security","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arafkarsh.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":"2022-06-22T15:36:31.000Z","updated_at":"2024-09-24T19:12:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"128dc089-4d95-43b0-b03a-a34e36c804e2","html_url":"https://github.com/arafkarsh/ms-cache-kafka-quickstart","commit_stats":null,"previous_names":["arafkarsh/ms-cache-kafka-quickstart"],"tags_count":0,"template":false,"template_full_name":"MetaArivu/ms-quickstart","purl":"pkg:github/arafkarsh/ms-cache-kafka-quickstart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arafkarsh%2Fms-cache-kafka-quickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arafkarsh%2Fms-cache-kafka-quickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arafkarsh%2Fms-cache-kafka-quickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arafkarsh%2Fms-cache-kafka-quickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arafkarsh","download_url":"https://codeload.github.com/arafkarsh/ms-cache-kafka-quickstart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arafkarsh%2Fms-cache-kafka-quickstart/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266909368,"owners_count":24004657,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["aop","exception-handling","kafka","microservices","redis","security","spring-boot"],"created_at":"2025-01-15T05:53:17.224Z","updated_at":"2026-05-10T05:03:17.141Z","avatar_url":"https://github.com/arafkarsh.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Microservice Template\n\nMicroservice Template gives you a \n\n1. SpringBoot App template with \n2. Open API 3 Ex, \n3. Spring Actuator, \n4. Spring Sleuth and \n5. POM File with (SpringBoot) Fat and Thin (Maven) jar file creation and \n6. Dockerfile for containerisation.\n\n## Service Setup\n\n### Step 1 - Setup Org, Service, \u0026 Container Name, Versions, API Path in app.props.tmpl\n\n1. Update the Org Name in src/main/resources/app.props.tmpl file (service.org)\n2. Update the Microservice name in src/main/resources/app.props.tmpl file (service.name)\n3. Update the API Version in src/main/resources/app.props.tmpl file (service.api.version)\n4. Update the API Name in src/main/resources/app.props.tmpl file (service.api.name)\n5. Update the Container Name in src/main/resources/app.props.tmpl file (service.container)\n6. Update the Server Version src/main/resources/app.props.tmpl file (server.version)\n7. Update the SRC_BASE (Your Service Repository Base Directory) in getServiceName shell script\n\nSample Property File Template\n![Property File](https://raw.githubusercontent.com/MetaArivu/microservice-template/master/diagrams/MS-Property-File.jpg)\n\nWhen you change the version in POM.xml, update that info in src/main/resources/app.props.tmpl - service.version property also.\n\n###  Step 2 - Compile (Once your code is ready) \n\n1. compile \n\nThe above compile script will do the following\n\n1. Clean up the target folder\n2. Generate the build no. and build date (takes application.properties backup)\n3. build final output SpringBoot fat jar and maven thin jar\n4. copy the jar files (and dependencis) to src/docker folder\n5. copy the application.properties file to current folder and src/docker folder\n\nIn Step 2.2 application.properties file will be auto generated by the compile script. This is a critical step.\nWithout generated application.properties file the service will not be running.\n\n###  Step 3 - Run and Test\n\n2. run\n3. test\n\n## Docker Container Setup\n\n### Step 1 - Verify Container Name and Org Name\n\n1. Verify the Org Name in src/main/resources/app.props.tmpl file (service.org)\n2. Verify the container name in src/main/resources/app.props.tmpl file (service.container)\n3. Verify the microservice name in src/main/resources/app.props.tmpl file (service.api.name)\n\n### Step 2 - Build the image\n\n1. build (Build the Container)\n2. scan (Scan the container vulnerabilities)\n\n### Step 3 - Test the image\n\n1. start (Start the Container)\n2. logs (to view the container logs) - Wait for the Container to Startup\n3. Check the URL in a Browser\n\n### Step 4 - Push the image to Container Cloud Repository\n\nUpdate the Org Name in src/main/resources/app.props.tmpl file (service.org)\nSetup the Docker Hub or any other Container Registry\n\n1. push (Push the Container to Docker Hub)\n\n### Other Commands\n\n1. stop (Stop the Container)_\n2. stats (show container stats)\n\n\n(C) Copyright 2021 - MetArivu\nAuthor: Araf Karsh Hamid\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farafkarsh%2Fms-cache-kafka-quickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farafkarsh%2Fms-cache-kafka-quickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farafkarsh%2Fms-cache-kafka-quickstart/lists"}