{"id":25346506,"url":"https://github.com/prabhakar-naik/spring-kafka-app","last_synced_at":"2026-05-06T06:33:11.368Z","repository":{"id":241087905,"uuid":"799169512","full_name":"Prabhakar-Naik/spring-kafka-app","owner":"Prabhakar-Naik","description":"Kafka application using spring boot The \"spring-kafka-app\" project is a Spring Boot application that demonstrates the integration of Apache Kafka with Spring Kafka for building scalable and reactive messaging systems. It showcases how to produce and consume messages asynchronously using Kafka topics and Spring Kafka's template and listener componen","archived":false,"fork":false,"pushed_at":"2024-08-13T11:19:53.000Z","size":190,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T17:21:40.010Z","etag":null,"topics":["docker","docker-compose","java","kafka","kafka-consumer","kafka-producer","pom","restful-api","spring-boot","xml"],"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/Prabhakar-Naik.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":"2024-05-11T11:07:19.000Z","updated_at":"2025-01-29T12:01:48.000Z","dependencies_parsed_at":"2025-02-14T13:49:44.035Z","dependency_job_id":null,"html_url":"https://github.com/Prabhakar-Naik/spring-kafka-app","commit_stats":null,"previous_names":["prabhakar-naik/spring-kafka-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Prabhakar-Naik/spring-kafka-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prabhakar-Naik%2Fspring-kafka-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prabhakar-Naik%2Fspring-kafka-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prabhakar-Naik%2Fspring-kafka-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prabhakar-Naik%2Fspring-kafka-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Prabhakar-Naik","download_url":"https://codeload.github.com/Prabhakar-Naik/spring-kafka-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prabhakar-Naik%2Fspring-kafka-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000859,"owners_count":26082951,"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-10-09T02:00:07.460Z","response_time":59,"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":["docker","docker-compose","java","kafka","kafka-consumer","kafka-producer","pom","restful-api","spring-boot","xml"],"created_at":"2025-02-14T13:37:01.476Z","updated_at":"2025-10-09T06:51:37.945Z","avatar_url":"https://github.com/Prabhakar-Naik.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spring-kafka-app\n\nThe \"spring-kafka-app\" project is a Spring Boot application that demonstrates the integration of Apache Kafka with Spring Kafka for building scalable and reactive messaging systems. It showcases how to produce and consume messages asynchronously using Kafka topics and Spring Kafka's template and listener components. This project highlights the benefits of event-driven architecture and real-time data processing using Kafka within a Spring Boot environment, making it suitable for building robust and efficient microservices and streaming applications.\n\nKafka application using spring boot\n\n# Using Docker we can run the Kafka: to configure below setup in docker compose.yml in your project\u003cbr/\u003e\n\u003cimg src=\"kafka-images/Screenshot 2024-08-12 180659.png\" alt=\"error\"/\u003e\n\nIt will configured and pull the images and create the containers in docker Desktop\u003cbr/\u003e\n\n\nNext you must connect docker desktop before running this command:\u003cbr/\u003e\n==\u003e docker-compose up\u003cbr/\u003e\n\n\u003cimg src=\"kafka-images/Screenshot 2024-08-12 182131.png\" alt=\"error\"/\u003e\n\nYou can see the running containers on docker: command is:\u003cbr/\u003e\n==\u003e docker ps (actively running)\u003cbr/\u003e\n\nTo create topic in the Kafka: use this command:\u003cbr/\u003e\n\t==\u003e docker-compose exec broker kafka-topics --create --topic my_topic --partitions 1 --replication-factor 1 --bootstrap-server broker:9092\u003cbr/\u003e\n\t\nTo get list of topics use this command:\u003cbr/\u003e\n\t==\u003e docker-compose exec broker kafka-topics --list --bootstrap-server broker:9092\u003cbr/\u003e\n\t\nTO Consume the events or messages from your topic producer use this command:\u003cbr/\u003e\n\t==\u003e docker-compose exec broker kafka-console-consumer --topic my_topic --from-beginning --bootstrap-server broker:9092\u003cbr/\u003e\n\t\nTo Produce the events or messages in your topic from using this command:\u003cbr/\u003e\n\t==\u003e docker-compose exec broker kafka-console-consumer --topic my_topic --from-beginning --bootstrap-server broker:9092\u003cbr/\u003e\n\n To Run the spring boot application using maven library use this command:\u003cbr/\u003e\n\t==\u003e ./mvnw spring-boot:run\u003cbr/\u003e\n\nThen configure your application with java with required dependencies in pom or gradle.\u003cbr/\u003e\n\n# The Cloned Application must build as a project in your familiar IDE.\nThank You.\nPrabhakar-Naik.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprabhakar-naik%2Fspring-kafka-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprabhakar-naik%2Fspring-kafka-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprabhakar-naik%2Fspring-kafka-app/lists"}