{"id":23036752,"url":"https://github.com/rlnkoo/kafka-consumer","last_synced_at":"2026-04-29T17:34:54.898Z","repository":{"id":267104017,"uuid":"881772875","full_name":"rlNkoo/kafka-consumer","owner":"rlNkoo","description":"Kafka example of serialize and deserialize code","archived":false,"fork":false,"pushed_at":"2024-11-01T07:40:56.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T09:28:56.353Z","etag":null,"topics":["java","kafka","spring"],"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/rlNkoo.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-11-01T07:39:08.000Z","updated_at":"2025-10-06T15:22:56.000Z","dependencies_parsed_at":"2025-11-24T01:01:49.070Z","dependency_job_id":null,"html_url":"https://github.com/rlNkoo/kafka-consumer","commit_stats":null,"previous_names":["rlnkoo/kafka-consumer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rlNkoo/kafka-consumer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rlNkoo%2Fkafka-consumer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rlNkoo%2Fkafka-consumer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rlNkoo%2Fkafka-consumer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rlNkoo%2Fkafka-consumer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rlNkoo","download_url":"https://codeload.github.com/rlNkoo/kafka-consumer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rlNkoo%2Fkafka-consumer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32437040,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T17:26:39.753Z","status":"ssl_error","status_checked_at":"2026-04-29T17:25:53.857Z","response_time":110,"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":["java","kafka","spring"],"created_at":"2024-12-15T17:27:21.303Z","updated_at":"2026-04-29T17:34:54.879Z","avatar_url":"https://github.com/rlNkoo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kafka Consumer Application\n\nThis project contains a simple consumer application for Apache Kafka, demonstrating how to set up and run Kafka locally. Apache Kafka is a distributed streaming platform that allows you to publish, subscribe to, store, and process data in real time.\n\n## Introduction\nFollow these instructions to set up Apache Kafka and run a producer and consumer application in your local environment.\n\n## Starting Zookeeper and Kafka\nApache Kafka relies on Zookeeper to manage brokers and handle distributed synchronization. Start the Zookeeper server and Kafka server in separate terminal windows.\n\n### 1. Start Zookeeper Server\nRun the following command to start the Zookeeper server:\n\nsh bin/zookeeper-server-start.sh config/zookeeper.properties\n\n### 2. Start Kafka Server / Broker\nIn another terminal window, start the Kafka broker (server) with:\n\nsh bin/kafka-server-start.sh config/server.properties\n\n### 3. Create a Topic\nTo create a new Kafka topic, use the following command. Replace NewTopic with your desired topic name. This topic will have 3 partitions and a replication factor of 1:\n\nsh bin/kafka-topics.sh --bootstrap-server localhost:9092 --create --topic NewTopic --partitions 3 --replication-factor 1\n\n### 4. List All Topic Names\nTo view all existing Kafka topics, use:\n\nsh bin/kafka-topics.sh --bootstrap-server localhost:9092 --list\n\n### 5. Describe Topics\nTo get details about a specific topic (e.g., NewTopic), use:\n\nsh bin/kafka-topics.sh --bootstrap-server localhost:9092 --describe --topic NewTopic\n\n### 6. Produce a Message\nYou can produce messages to the NewTopic topic by using the console producer. After running this command, type messages and press Enter to send them:\n\nsh bin/kafka-console-producer.sh --broker-list localhost:9092 --topic NewTopic\n\n### 7. Consume Messages\nTo consume messages from the NewTopic topic, use the console consumer. This command will show messages from the beginning of the topic:\n\nsh bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic NewTopic --from-beginning\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frlnkoo%2Fkafka-consumer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frlnkoo%2Fkafka-consumer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frlnkoo%2Fkafka-consumer/lists"}