https://github.com/kedarkk1/apache-kafka-nodejs-projects
Some of my apache-kafka-nodejs projects made with docker-compose.yml
https://github.com/kedarkk1/apache-kafka-nodejs-projects
apache-kafka docker docker-compose kafka kafkajs multi-producer nodejs producer-consumer transaction-processing transaction-producer yml
Last synced: 3 months ago
JSON representation
Some of my apache-kafka-nodejs projects made with docker-compose.yml
- Host: GitHub
- URL: https://github.com/kedarkk1/apache-kafka-nodejs-projects
- Owner: KedarKK1
- Created: 2024-05-13T13:21:08.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-13T14:48:39.000Z (about 1 year ago)
- Last Synced: 2025-03-27T13:48:14.845Z (3 months ago)
- Topics: apache-kafka, docker, docker-compose, kafka, kafkajs, multi-producer, nodejs, producer-consumer, transaction-processing, transaction-producer, yml
- Language: JavaScript
- Homepage:
- Size: 1.46 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
for error
```
docker-compose up -d
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
```
use
```
systemctl start docker
It worked fine for me.P.S.: after if there is commands that you can't do without sudo, try this:
gpasswd -a $USER docker
```run
```
sudo docker run hello-world
```or
sudo snap install docker wagere karke dekhow
```
docker-compose up -d
docker ps -a
docker exec -it img_id /bin/sh
docker logs img_id
telnet localhost 9092
docker exec kafka kafka-topics --create --if-not-exists --zookeeper zookeeper:2181 --partitions 1 --replication-factor 1 --topic MY_AWESOME_TOPIC_TWO
```