{"id":18930436,"url":"https://github.com/techprimers/spring-boot-kafka-producer-example","last_synced_at":"2025-10-20T11:53:38.838Z","repository":{"id":38375580,"uuid":"133993260","full_name":"TechPrimers/spring-boot-kafka-producer-example","owner":"TechPrimers","description":"Spring Boot Kafka Producer Example","archived":false,"fork":false,"pushed_at":"2022-07-29T12:57:30.000Z","size":49,"stargazers_count":131,"open_issues_count":2,"forks_count":178,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-10T01:13:58.632Z","etag":null,"topics":["kafka-producer","kafka-topic","spring-kafka"],"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/TechPrimers.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-05-18T18:57:56.000Z","updated_at":"2024-10-23T04:23:15.000Z","dependencies_parsed_at":"2022-08-25T02:11:37.387Z","dependency_job_id":null,"html_url":"https://github.com/TechPrimers/spring-boot-kafka-producer-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TechPrimers/spring-boot-kafka-producer-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechPrimers%2Fspring-boot-kafka-producer-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechPrimers%2Fspring-boot-kafka-producer-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechPrimers%2Fspring-boot-kafka-producer-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechPrimers%2Fspring-boot-kafka-producer-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TechPrimers","download_url":"https://codeload.github.com/TechPrimers/spring-boot-kafka-producer-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechPrimers%2Fspring-boot-kafka-producer-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280087871,"owners_count":26269718,"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-20T02:00:06.978Z","response_time":62,"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":["kafka-producer","kafka-topic","spring-kafka"],"created_at":"2024-11-08T11:37:39.146Z","updated_at":"2025-10-20T11:53:38.792Z","avatar_url":"https://github.com/TechPrimers.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot with Kafka Producer Example\n\nThis Project covers how to use Spring Boot with Spring Kafka to Publish JSON/String message to a Kafka topic\n## Start Zookeeper\n- `bin/zookeeper-server-start.sh config/zookeeper.properties`\n\n## Start Kafka Server\n- `bin/kafka-server-start.sh config/server.properties`\n\n## Create Kafka Topic\n- `bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic Kafka_Example`\n\n## Consume from the Kafka Topic via Console\n- `bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic Kafka_Example --from-beginning`\n\n## Publish message via WebService\n- `http://localhost:8081/kafka/publish/Sam`\n- `http://localhost:8081/kafka/publish/Peter`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechprimers%2Fspring-boot-kafka-producer-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechprimers%2Fspring-boot-kafka-producer-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechprimers%2Fspring-boot-kafka-producer-example/lists"}