{"id":19974951,"url":"https://github.com/mark1708/spring-boot-kafka-example","last_synced_at":"2026-04-18T15:39:20.412Z","repository":{"id":128500215,"uuid":"458779692","full_name":"Mark1708/spring-boot-kafka-example","owner":"Mark1708","description":"This is a simple project made for educational purposes in order to learn how to communicate between microservices using the Kafka message broker.","archived":false,"fork":false,"pushed_at":"2022-02-14T13:04:27.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-31T23:51:10.368Z","etag":null,"topics":["java","kafka","spring","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mark1708.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":"2022-02-13T10:45:03.000Z","updated_at":"2022-07-13T07:58:55.000Z","dependencies_parsed_at":"2023-04-18T01:49:34.540Z","dependency_job_id":null,"html_url":"https://github.com/Mark1708/spring-boot-kafka-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mark1708/spring-boot-kafka-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mark1708%2Fspring-boot-kafka-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mark1708%2Fspring-boot-kafka-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mark1708%2Fspring-boot-kafka-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mark1708%2Fspring-boot-kafka-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mark1708","download_url":"https://codeload.github.com/Mark1708/spring-boot-kafka-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mark1708%2Fspring-boot-kafka-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31974951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["java","kafka","spring","spring-boot"],"created_at":"2024-11-13T03:16:42.443Z","updated_at":"2026-04-18T15:39:20.369Z","avatar_url":"https://github.com/Mark1708.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spring-boot-kafka-example\n![Java](https://img.shields.io/badge/-Java-0a0a0a?style=for-the-badge\u0026logo=Java) ![Spring](https://img.shields.io/badge/-Spring-0a0a0a?style=for-the-badge\u0026logo=Spring) \n![Spring](https://img.shields.io/badge/-Kafka-0a0a0a?style=for-the-badge\u0026logo=apachekafka)\n\u003cbr/\u003e\n\n\u003eThis is a simple project made for educational purposes in order to learn how to communicate between microservices using the Kafka message broker.\n\n## Table of contents\n* [General info](#general-info)\n* [Technologies](#technologies)\n* [Features](#features)\n* [Status](#status)\n* [Inspiration](#inspiration)\n* [Contact](#contact)\n\n## General info\nOur application will have the following interaction structure.\n\u003cbr/\u003e\n![architecture](https://github.com/Mark1708/spring-boot-kafka-example/blob/main/assets/kafka.drawio.png?raw=true)\n\u003cbr/\u003e\nThe project includes 2 services:\n* kafka-consumer\n* kafka-producer\n\n\nTo run the project, you need to run Kafka and Zookeeper. To do this, enter the command:\n\n  `docker-compose up -d`\n\u003cbr/\u003e\nTo track all sent messages you can enter the command:\n\n`docker exec --interactive --tty broker kafka-console-consumer --bootstrap-server broker:9092 --topic topicName --from-beginning`\n\u003cbr/\u003e\nThen run kafka-consumer and kafka-producer via IDEA\n\u003cbr/\u003e\n\n## Technologies\n* Java - version 11\n* Spring Boot - version 2.6.3\n\n## Code Examples\n### Request\n```\nPOST http://localhost:8080/api/messages\nContent-Type: application/json\n\n{\n  \"message\": \"Some message\"\n}\n```\n#### In console of Consumer application you can see:\n`Listener received: Some message 🎉`\n\n## Features\n* Used Apache Kafka\n* Used docker-compose to start Kafka and Zookeeper\n\n## Status\nProject is: _finished_\n\n## Inspiration\nThe project was created for educational purposes\n\n## Contact\nCreated by [Gurianov Mark](https://mark1708.github.io/) - feel free to contact me!\n#### +7(962)024-50-04 | mark1708.work@gmail.com | [github](http://github.com/Mark1708)\n\n![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=mark1708\u0026repo=spring-boot-kafka-example\u0026theme=chartreuse-dark\u0026show_icons=true)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmark1708%2Fspring-boot-kafka-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmark1708%2Fspring-boot-kafka-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmark1708%2Fspring-boot-kafka-example/lists"}