{"id":41629071,"url":"https://github.com/thepracticaldeveloper/kafka-spring-boot-example","last_synced_at":"2026-01-24T14:28:40.604Z","repository":{"id":38434203,"uuid":"158065699","full_name":"thepracticaldeveloper/kafka-spring-boot-example","owner":"thepracticaldeveloper","description":"Spring Boot application showing basic configuration to work with Kafka","archived":false,"fork":false,"pushed_at":"2025-05-07T14:29:40.000Z","size":83,"stargazers_count":215,"open_issues_count":5,"forks_count":104,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-07T15:37:38.065Z","etag":null,"topics":["kafka","practical","spring-boot","thepracticaldeveloper"],"latest_commit_sha":null,"homepage":"https://thepracticaldeveloper.com/spring-boot-kafka-config/","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/thepracticaldeveloper.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}},"created_at":"2018-11-18T08:57:12.000Z","updated_at":"2025-05-03T11:46:57.000Z","dependencies_parsed_at":"2022-07-29T22:09:53.077Z","dependency_job_id":null,"html_url":"https://github.com/thepracticaldeveloper/kafka-spring-boot-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thepracticaldeveloper/kafka-spring-boot-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepracticaldeveloper%2Fkafka-spring-boot-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepracticaldeveloper%2Fkafka-spring-boot-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepracticaldeveloper%2Fkafka-spring-boot-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepracticaldeveloper%2Fkafka-spring-boot-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thepracticaldeveloper","download_url":"https://codeload.github.com/thepracticaldeveloper/kafka-spring-boot-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepracticaldeveloper%2Fkafka-spring-boot-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28729646,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["kafka","practical","spring-boot","thepracticaldeveloper"],"created_at":"2026-01-24T14:28:39.713Z","updated_at":"2026-01-24T14:28:40.600Z","avatar_url":"https://github.com/thepracticaldeveloper.png","language":"Java","readme":"# Spring Boot Kafka Example - The Practical Developer\n\n## Basic configuration\n\nThis sample application shows how to use basic Spring Boot configuration to set up a producer to a topic with multiple partitions and a consumer group with three different consumers.\n\nThe complete post with details is on The Practical Developer website: [Spring Boot and Kafka - Practical Configuration Examples](https://thepracticaldeveloper.com/spring-boot-kafka-config/).\n\n[![Kafka Configuration Example](img/kafka-configuration-example.jpg)](https://thepracticaldeveloper.com/spring-boot-kafka-config/)\n\n## Multiple serialization / deserialization formats\n\nTo illustrate the different configuration options, this application deserializes Kafka messages in three different ways:\n\n* As a JSON to Java object.\n* As a simple String (plain JSON).\n* As a byte array.\n\n## Docker compose\n\nThis code includes a `docker-compose.yml` file, so you can use Docker Compose to start up Kafka without installing anything.\n\n## Was it useful?\n\nGive a star to this project, and consider some extra readings:\n\n* [My practical book about building a microservices architecture from scratch](https://amzn.to/3nADn4q).\n* [The Full Reactive Stack Guide](https://leanpub.com/full-reactive/).\n* [The Practical Architecture Guide](https://leanpub.com/practical-software-architecture).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthepracticaldeveloper%2Fkafka-spring-boot-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthepracticaldeveloper%2Fkafka-spring-boot-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthepracticaldeveloper%2Fkafka-spring-boot-example/lists"}