{"id":17028864,"url":"https://github.com/selimhorri/kafka-boot","last_synced_at":"2025-04-12T12:11:21.078Z","repository":{"id":47597749,"uuid":"395829101","full_name":"SelimHorri/kafka-boot","owner":"SelimHorri","description":"kafka-producer-consumer-with-spring-boot","archived":false,"fork":false,"pushed_at":"2021-10-07T20:55:52.000Z","size":84,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T06:51:10.579Z","etag":null,"topics":["java","kafka","kafka-consumer","kafka-producer","kafka-topic","message-streaming","spring-boot","spring-kafka","streaming-data"],"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/SelimHorri.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":"2021-08-13T23:37:41.000Z","updated_at":"2025-01-12T05:32:24.000Z","dependencies_parsed_at":"2022-09-01T13:00:57.637Z","dependency_job_id":null,"html_url":"https://github.com/SelimHorri/kafka-boot","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SelimHorri%2Fkafka-boot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SelimHorri%2Fkafka-boot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SelimHorri%2Fkafka-boot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SelimHorri%2Fkafka-boot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SelimHorri","download_url":"https://codeload.github.com/SelimHorri/kafka-boot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565074,"owners_count":21125417,"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","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","kafka-consumer","kafka-producer","kafka-topic","message-streaming","spring-boot","spring-kafka","streaming-data"],"created_at":"2024-10-14T07:56:19.556Z","updated_at":"2025-04-12T12:11:21.057Z","avatar_url":"https://github.com/SelimHorri.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kafka-boot\n## kafka-producer-consumer-with-spring-boot\n\nSimple Spring Boot app to consume the published message into a Kafka topic through a simple Rest API:\n/messages/publish/{msg}\n\n\u003cpre\u003e\n _   __         __  _           ______                _   \n| | / /        / _|| |          | ___ \\              | |  \n| |/ /   __ _ | |_ | | __  __ _ | |_/ /  ___    ___  | |_ \n|    \\  / _` ||  _|| |/ / / _` || ___ \\ / _ \\  / _ \\ | __|\n| |\\  \\| (_| || |  |   \u003c | (_| || |_/ /| (_) || (_) || |_ \n\\_| \\_/ \\__,_||_|  |_|\\_\\ \\__,_|\\____/  \\___/  \\___/  \\__|\nSupersonic Java with Spring Boot ☕️💚\n\u003c/pre\u003e\n\n### Kafka producer\n\n- Launch Zookeeper server\n\n```shell\n  ${KAFKA_HOME}/bin/zookeeper-server-start.sh ${KAFKA_HOME}/config/zookeeper.properties\n```\n\n- Launch Kafka server\n\n```shell\n  ${KAFKA_HOME}/bin/kafka-server-start.sh ${KAFKA_HOME}/config/server.properties\n```\n\n- Create new Topic called 'NewTopic'\n\n```shell\n  ${KAFKA_HOME}/bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic NewTopic --from-beginning\n```\n\n### Kafka consumer (optional)\n\n- Launch a consumer message streamer\n\n```shell\n  ${KAFKA_HOME}/bin/kafka-console-producer --broker-list localhost:9092 --topic NewTopic\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselimhorri%2Fkafka-boot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselimhorri%2Fkafka-boot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselimhorri%2Fkafka-boot/lists"}