{"id":19092346,"url":"https://github.com/maxjdev/example-simple-spring-kafka-producer-consumer","last_synced_at":"2026-05-05T08:33:30.061Z","repository":{"id":251656043,"uuid":"838045682","full_name":"maxjdev/Example-Simple-Spring-Kafka-Producer-Consumer","owner":"maxjdev","description":"Kafka creation and configuration example with producer and consumer","archived":false,"fork":false,"pushed_at":"2024-08-20T01:09:49.000Z","size":248,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-24T12:51:48.757Z","etag":null,"topics":["docker-compose","kafka","spring-boot","spring-for-kafka","spring-web","zookeeper"],"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/maxjdev.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-08-04T19:25:35.000Z","updated_at":"2024-08-20T01:09:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"095a5a81-32ca-44ff-ba56-7a489771e12e","html_url":"https://github.com/maxjdev/Example-Simple-Spring-Kafka-Producer-Consumer","commit_stats":null,"previous_names":["maxjdev/example-spring-kafka-producer-consumer","maxjdev/example-simple-spring-kafka-producer-consumer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxjdev/Example-Simple-Spring-Kafka-Producer-Consumer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxjdev%2FExample-Simple-Spring-Kafka-Producer-Consumer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxjdev%2FExample-Simple-Spring-Kafka-Producer-Consumer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxjdev%2FExample-Simple-Spring-Kafka-Producer-Consumer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxjdev%2FExample-Simple-Spring-Kafka-Producer-Consumer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxjdev","download_url":"https://codeload.github.com/maxjdev/Example-Simple-Spring-Kafka-Producer-Consumer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxjdev%2FExample-Simple-Spring-Kafka-Producer-Consumer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32642016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"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-compose","kafka","spring-boot","spring-for-kafka","spring-web","zookeeper"],"created_at":"2024-11-09T03:19:15.665Z","updated_at":"2026-05-05T08:33:30.047Z","avatar_url":"https://github.com/maxjdev.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n # Pub/Sub with Spring and Kafka\n\n ![ilustração da arquitetura base do kafka](img/kafka.png)\n\n\u003c/div\u003e\n\n## Technologies\n\n- [Spring Boot](https://spring.io/projects/spring-boot)\n- [Spring MVC](https://docs.spring.io/spring-framework/reference/web/webmvc.html)\n- [Spring for Kafka](https://docs.spring.io/spring-kafka/reference/html/)\n- [Kafka](https://kafka.apache.org)\n- [Zookeeper](https://zookeeper.apache.org/)\n- [Docker Compose](https://docs.docker.com/compose/)\n\n## Test\n\n- Clone the repository\n- With docker and docker-compose installed, navigate to the project directory, open your terminal and type the following command:\n\n```bash\ndocker-compose up\n```\n\n- Start the application\n- Send the request passing \u003ci\u003ename\u003c/i\u003e in the path that will be the message received sysout:\n\n```bash\ncurl -X GET http://localhost:8080/kafka/hello/maxjdev\n```\n\n- Message received:\n\n```\nConsumer message: Hello maxjdev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxjdev%2Fexample-simple-spring-kafka-producer-consumer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxjdev%2Fexample-simple-spring-kafka-producer-consumer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxjdev%2Fexample-simple-spring-kafka-producer-consumer/lists"}