{"id":28075178,"url":"https://github.com/poyraztuzcu/kafka-docker-compose","last_synced_at":"2026-04-18T07:31:00.505Z","repository":{"id":292760396,"uuid":"981824414","full_name":"poyraztuzcu/kafka-docker-compose","owner":"poyraztuzcu","description":"Docker Composer File for Kafka and Test using Express JS","archived":false,"fork":false,"pushed_at":"2026-04-17T15:32:14.000Z","size":7580,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-17T17:32:59.492Z","etag":null,"topics":["confluent-platform","docker","dockerfile","kafka","kafka-connect","kafka-spark-streaming","kafka-topics-ui","kraft","minio","spark","spark-kafka","streaming","zeppelin","zookeeper"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":false,"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/poyraztuzcu.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-12T00:22:13.000Z","updated_at":"2026-04-17T15:32:18.000Z","dependencies_parsed_at":"2026-01-26T07:06:09.429Z","dependency_job_id":null,"html_url":"https://github.com/poyraztuzcu/kafka-docker-compose","commit_stats":null,"previous_names":["poyraztuzcu/kafka-docker-compose"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/poyraztuzcu/kafka-docker-compose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poyraztuzcu%2Fkafka-docker-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poyraztuzcu%2Fkafka-docker-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poyraztuzcu%2Fkafka-docker-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poyraztuzcu%2Fkafka-docker-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/poyraztuzcu","download_url":"https://codeload.github.com/poyraztuzcu/kafka-docker-compose/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poyraztuzcu%2Fkafka-docker-compose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31961063,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["confluent-platform","docker","dockerfile","kafka","kafka-connect","kafka-spark-streaming","kafka-topics-ui","kraft","minio","spark","spark-kafka","streaming","zeppelin","zookeeper"],"created_at":"2025-05-13T00:55:08.613Z","updated_at":"2026-04-18T07:31:00.499Z","avatar_url":"https://github.com/poyraztuzcu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kafka Docker Compose 🐳\n\n![Kafka](https://img.shields.io/badge/Kafka-Streaming-orange?style=flat-square) ![Docker](https://img.shields.io/badge/Docker-Container-blue?style=flat-square) ![ExpressJS](https://img.shields.io/badge/ExpressJS-Web%20Framework-green?style=flat-square)\n\nWelcome to the **Kafka Docker Compose** repository! This project provides a simple way to set up Apache Kafka using Docker and Docker Compose. It also includes a test application built with Express.js to demonstrate how to interact with Kafka. \n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Getting Started](#getting-started)\n- [Project Structure](#project-structure)\n- [Usage](#usage)\n- [Testing with Express.js](#testing-with-expressjs)\n- [Contributing](#contributing)\n- [License](#license)\n- [Links](#links)\n\n## Introduction\n\nApache Kafka is a powerful message broker designed for high-throughput and low-latency data streaming. It allows you to build real-time data pipelines and streaming applications. With Docker Compose, you can easily manage and deploy Kafka and its dependencies.\n\nThis repository aims to simplify the setup process. It provides a Docker Compose file that defines all necessary services, making it easy to get started with Kafka.\n\n## Getting Started\n\nTo use this project, follow these steps:\n\n1. **Clone the repository:**\n\n   ```bash\n   git clone https://github.com/poyraztuzcu/kafka-docker-compose.git\n   cd kafka-docker-compose\n   ```\n\n2. **Download and execute the Docker Compose file:**\n\n   You can find the latest release [here](https://github.com/poyraztuzcu/kafka-docker-compose/releases). Download the relevant files and execute them.\n\n3. **Start the services:**\n\n   Run the following command to start Kafka and its dependencies:\n\n   ```bash\n   docker-compose up\n   ```\n\n   This command will set up the entire environment, including Zookeeper, Kafka, and any other necessary services.\n\n## Project Structure\n\nHere’s a brief overview of the project structure:\n\n```\nkafka-docker-compose/\n│\n├── docker-compose.yml      # Main Docker Compose file\n├── express-app/            # Directory for the Express.js application\n│   ├── app.js              # Main application file\n│   ├── package.json        # Node.js dependencies\n│   └── ...                 # Other application files\n└── README.md               # Project documentation\n```\n\n- **docker-compose.yml:** This file defines the services, networks, and volumes for the Docker containers.\n- **express-app/:** This directory contains the Express.js application, which will be used to interact with Kafka.\n\n## Usage\n\nAfter starting the services, you can access Kafka and Zookeeper through their respective ports. By default:\n\n- Zookeeper runs on `localhost:2181`\n- Kafka runs on `localhost:9092`\n\nYou can configure these ports in the `docker-compose.yml` file if needed.\n\nTo interact with Kafka, you can use various tools, such as:\n\n- Kafka CLI tools\n- Kafka clients in different programming languages\n- The Express.js application provided in this repository\n\n## Testing with Express.js\n\nThe Express.js application in this repository allows you to test Kafka by sending and receiving messages. Here’s how to set it up:\n\n1. **Navigate to the Express app directory:**\n\n   ```bash\n   cd express-app\n   ```\n\n2. **Install dependencies:**\n\n   Run the following command to install the necessary Node.js packages:\n\n   ```bash\n   npm install\n   ```\n\n3. **Start the Express server:**\n\n   Run the application with:\n\n   ```bash\n   node app.js\n   ```\n\n   The server will start, and you can access it at `http://localhost:3000`.\n\n4. **Send a test message:**\n\n   You can use a tool like Postman or curl to send a POST request to the Express app:\n\n   ```bash\n   curl -X POST http://localhost:3000/send -d '{\"message\": \"Hello, Kafka!\"}'\n   ```\n\n   This will send a message to Kafka, and you should see a response confirming the message was sent.\n\n## Contributing\n\nContributions are welcome! If you have suggestions or improvements, feel free to create a pull request. Please follow these guidelines:\n\n1. Fork the repository.\n2. Create a new branch for your feature or fix.\n3. Make your changes.\n4. Commit your changes with clear messages.\n5. Push to your branch.\n6. Open a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Links\n\nFor the latest releases, please visit [this link](https://github.com/poyraztuzcu/kafka-docker-compose/releases). Download the necessary files and execute them to set up your environment.\n\nIf you have any questions or need assistance, check the \"Releases\" section for updates and documentation.\n\n---\n\nThis repository aims to make working with Kafka simpler and more accessible. Whether you're building a new application or just exploring Kafka's capabilities, this setup will help you get started quickly. Enjoy coding!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoyraztuzcu%2Fkafka-docker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoyraztuzcu%2Fkafka-docker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoyraztuzcu%2Fkafka-docker-compose/lists"}