Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codersomya/kafka-pub-sub-model
Building a realtime server for implementing a pub-sub queuing architecture.
https://github.com/codersomya/kafka-pub-sub-model
Last synced: 12 days ago
JSON representation
Building a realtime server for implementing a pub-sub queuing architecture.
- Host: GitHub
- URL: https://github.com/codersomya/kafka-pub-sub-model
- Owner: coderSomya
- Created: 2023-08-22T13:37:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-22T15:27:20.000Z (about 1 year ago)
- Last Synced: 2023-08-22T18:52:15.824Z (about 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kafka-Pub-Sub-model
Building a realtime server for implementing a pub-sub queuing architecture.STEPS:
1)run zookeper image
```
docker run -p 2181:2181 zookeper
```2)expose PORT 9092 and setup environment variables
```
docker run -p 9092:9092 \
-e KAFKA_ZOOKEPER_CONNECT=:2181 \
-e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://:9092 \
-e KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1confluentic/cp-kafka
```