https://github.com/aakashcode12/kafka-docker
InitialSetup for kafka using docker containers
https://github.com/aakashcode12/kafka-docker
Last synced: 5 months ago
JSON representation
InitialSetup for kafka using docker containers
- Host: GitHub
- URL: https://github.com/aakashcode12/kafka-docker
- Owner: AakashCode12
- Created: 2025-05-19T17:43:52.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-19T17:46:22.000Z (about 1 year ago)
- Last Synced: 2025-06-19T08:40:50.767Z (12 months ago)
- Size: 163 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kafka Docker Project
This is a basic setup of Apache Kafka and Zookeeper using Docker.
We are also connecting the Kafka Cluster to a ui using the kafka ui project
## 🚀 How to Start the Kafka Application
### 1) Run this Docker command to run the docker
```bash
docker-compose up -d
```
### 2) Run this command to start kafka ui
```bash
docker run -it -p 8080:8080 -e DYNAMIC_CONFIG_ENABLED=true provectuslabs/kafka-ui
```
### 3) Verify using the containers are running using
```
docker ps
```
It should look like this:
| CONTAINER ID | IMAGE | COMMAND | CREATED | STATUS | PORTS | NAMES |
|--------------|--------------------------|-----------------------------|------------|--------------|--------------------------|--------------|
| d53e83c5eb87 | bitnami/kafka:latest | /opt/bitnami/scripts/... | 2 days ago | Up 52 seconds| 0.0.0.0:9092->9092/tcp | kafka |
| 0bbf4468c846 | provectuslabs/kafka-ui | /bin/sh -c 'java --... | 2 days ago | Up 52 seconds| 0.0.0.0:8080->8080/tcp | crazy_volhard|
### 4) Go to localhost:8080 and put this in brokers:
```
host.docker.internal:9092
```
### 5) Now you should be connected to your kafka Cluster
